elasticsearchindex.components
Class IndexException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by elasticsearchindex.components.IndexException
All Implemented Interfaces:
Serializable

public class IndexException
extends Exception

Exception used when the Index fails.

Author:
aardag
See Also:
Serialized Form

Constructor Summary
IndexException()
          Default constructor.
IndexException(String message)
          Constructs with message.
IndexException(Throwable causeIn)
          Constructs with chained exception.
 
Method Summary
 Throwable getException()
          Retrieves nested exception.
 void printStackTrace()
          Print the stack trace to System.err.
 void printStackTrace(PrintStream ps)
          Print the stack trace to a print stream.
 void printStackTrace(PrintWriter pw)
          Print the stack trace to a print writer.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexException

public IndexException()
Default constructor.


IndexException

public IndexException(String message)
Constructs with message.

Parameters:
message - - The message to throw in the exception

IndexException

public IndexException(Throwable causeIn)
Constructs with chained exception.

Parameters:
causeIn - - The throwable cause in the exception.
Method Detail

getException

public final Throwable getException()
Retrieves nested exception.

Returns:
- the cause.

printStackTrace

public final void printStackTrace()
Print the stack trace to System.err.

Overrides:
printStackTrace in class Throwable

printStackTrace

public final void printStackTrace(PrintStream ps)
Print the stack trace to a print stream.

Overrides:
printStackTrace in class Throwable
Parameters:
ps - - the print stream.

printStackTrace

public void printStackTrace(PrintWriter pw)
Print the stack trace to a print writer.

Overrides:
printStackTrace in class Throwable
Parameters:
pw - - the print writer.


Copyright © 2013. All Rights Reserved.