public class IgniteIllegalStateException extends IllegalStateException
Constructor and Description |
---|
IgniteIllegalStateException(String msg)
Constructs exception with given message.
|
IgniteIllegalStateException(String msg,
@Nullable 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(@Nullable 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 @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 @Nullable Class<T> cls)
'cause'
hierarchy if any.cls
- Cause class to get cause (if null
, null
is returned).null
otherwise.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024