public class GridClientException extends Exception
| Constructor and Description |
|---|
GridClientException(String msg)
Constructs client exception.
|
GridClientException(String msg,
Throwable cause)
Constructs client exception.
|
GridClientException(Throwable cause)
Constructs client exception.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasCause(Class<? extends Throwable>... cls)
Checks if passed in
'Throwable' has given class in 'cause' hierarchy
including that throwable itself. |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic GridClientException(String msg)
msg - Message.public GridClientException(String msg, Throwable cause)
msg - Message.cause - Cause.public GridClientException(Throwable cause)
cause - Cause.public boolean hasCause(@Nullable
Class<? extends Throwable>... cls)
'Throwable' has given class in 'cause' hierarchy
including that throwable itself.
Note that this method follows includes Throwable.getSuppressed()
into check.
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.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021