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,
@Nullable Throwable cause)
Creates new exception with given error message and optional nested exception.
|
IgniteCheckedException(String msg,
@Nullable Throwable cause,
boolean writableStackTrace)
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(@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, setStackTracepublic IgniteCheckedException()
public IgniteCheckedException(String msg)
msg - Error message.public IgniteCheckedException(Throwable cause)
cause - Non-null throwable cause.public IgniteCheckedException(String msg, @Nullable @Nullable Throwable cause, boolean writableStackTrace)
msg - Error message.cause - Optional nested exception (can be null).writableStackTrace - whether or not the stack trace should
be writable@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 @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.26 Release Date : October 16 2025