public class IgniteCheckedException extends Exception
| Constructor and Description |
|---|
IgniteCheckedException()
Create empty exception.
|
IgniteCheckedException(String msg)
Creates new exception with given error message.
|
IgniteCheckedException(String msg,
Throwable cause)
Creates new exception with given error message and optional nested exception.
|
IgniteCheckedException(Throwable cause)
Creates new grid exception with given throwable as a cause and
source of error message.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Throwable> |
getCause(Class<T> cls)
Gets first exception of given class from
'cause' hierarchy if any. |
boolean |
hasCause(Class<? extends Throwable>... cls)
Checks if this exception has given class in
'cause' hierarchy. |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic IgniteCheckedException()
public IgniteCheckedException(String msg)
msg - Error message.public IgniteCheckedException(Throwable cause)
cause - Non-null throwable cause.@SafeVarargs public final boolean hasCause(@Nullable Class<? extends Throwable>... cls)
'cause' hierarchy.cls - Cause classes to check (if null or empty, false is returned).True if one of the causing exception is an instance of passed in classes,
false otherwise.@Nullable public <T extends Throwable> T getCause(@Nullable Class<T> cls)
'cause' hierarchy if any.cls - Cause class to get cause (if null, null is returned).null otherwise.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.11 Release Date : April 8 2016