public class IgniteIllegalStateException extends IllegalStateException
Constructor and Description |
---|
IgniteIllegalStateException(String msg)
Constructs exception with given message.
|
IgniteIllegalStateException(String msg,
Throwable cause)
Constructs exception with given message and cause.
|
IgniteIllegalStateException(Throwable cause)
Creates exception 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, setStackTrace
public IgniteIllegalStateException(String msg, @Nullable Throwable cause)
msg
- Exception message.cause
- Exception cause.public IgniteIllegalStateException(Throwable cause)
cause
- Non-null throwable cause.public IgniteIllegalStateException(String msg)
msg
- Exception message.public boolean hasCause(@Nullable Class<? extends Throwable>... cls)
'cause'
hierarchy.cls
- Cause class to check (if null
, false
is returned)..True
if one of the causing exception is an instance of passed in class,
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. 2.2.0 Release Date : September 15 2017