public class IgniteSpiMultiException extends IgniteSpiException
Constructor and Description |
---|
IgniteSpiMultiException(String msg)
Creates new exception with given error message.
|
IgniteSpiMultiException(String msg,
@Nullable Throwable cause)
Creates new exception with given error message and optional nested exception.
|
IgniteSpiMultiException(String msg,
@Nullable Throwable cause,
@Nullable Collection<Throwable> nestedCauses)
Creates new exception with given error message and optional nested exception.
|
IgniteSpiMultiException(Throwable cause)
Creates new grid exception with given throwable as a cause and
source of error message.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Throwable cause)
Adds a new cause for multi-exception.
|
List<Throwable> |
nestedCauses()
Gets nested causes for this multi-exception.
|
void |
printStackTrace(PrintStream s) |
getCause, hasCause, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace
public IgniteSpiMultiException(String msg)
msg
- Error message.public IgniteSpiMultiException(Throwable cause)
cause
- Non-null throwable cause.public IgniteSpiMultiException(String msg, @Nullable @Nullable Throwable cause)
msg
- Error message.cause
- Optional nested exception (can be null
).public IgniteSpiMultiException(String msg, @Nullable @Nullable Throwable cause, @Nullable @Nullable Collection<Throwable> nestedCauses)
msg
- Error message.cause
- Optional nested exception (can be null
).nestedCauses
- Optional collection of nested causes.public void add(Throwable cause)
cause
- Cause to add.public List<Throwable> nestedCauses()
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019