Package com.denodo.util.exceptions
Class InternalErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.denodo.util.exceptions.InternalErrorException
- All Implemented Interfaces:
Serializable
Signals that a serious error ocurrs during a method execution.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInternalErrorException(Exception exception) Creates an InternalErrorException with the real exception encapsulated. -
Method Summary
Modifier and TypeMethodDescriptionReturns the encapsulated exception.Returns the detail message string of the encapsulated exception.voidPrints this exception and its backtrace to the standard error stream.voidprintStackTrace(PrintStream printStream) Prints this exception and its backtrace to the specified print stream.voidprintStackTrace(PrintWriter printWriter) Prints this exception and its backtrace to the specified print writer.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
InternalErrorException
Creates an InternalErrorException with the real exception encapsulated.- Parameters:
exception- the real exception encapsulated.
-
-
Method Details
-
getMessage
Returns the detail message string of the encapsulated exception.- Overrides:
getMessagein classThrowable- Returns:
- the detail message string of the encapsulated exception (which may be null).
-
getEncapsulatedException
Returns the encapsulated exception.- Returns:
- the encapsulated exception.
-
printStackTrace
public void printStackTrace()Prints this exception and its backtrace to the standard error stream.- Overrides:
printStackTracein classThrowable
-
printStackTrace
Prints this exception and its backtrace to the specified print stream.- Overrides:
printStackTracein classThrowable- Parameters:
printStream-PrintStreamto use for output.
-
printStackTrace
Prints this exception and its backtrace to the specified print writer.- Overrides:
printStackTracein classThrowable- Parameters:
printWriter-PrintWriterto use for output.
-