public class MultiException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.Throwable> |
causes
The exceptions.
|
protected java.lang.String |
message
The message.
|
Constructor and Description |
---|
MultiException()
Create a new multi exception.
|
MultiException(java.util.List<java.lang.Throwable> causes)
Create a new multi exception.
|
MultiException(java.lang.String message)
Create a new multi exception.
|
MultiException(java.lang.String message,
java.util.List<java.lang.Throwable> causes)
Create a new multi exception.
|
Modifier and Type | Method and Description |
---|---|
void |
addCause(java.lang.Throwable cause)
Add an exception.
|
java.lang.Throwable[] |
getCauses()
Get the causes.
|
java.lang.String |
getMessage()
Returns the detail message string of this throwable.
|
void |
setText(java.lang.String message)
Set the message.
|
protected java.util.List<java.lang.Throwable> causes
protected java.lang.String message
public MultiException()
public MultiException(java.lang.String message)
public MultiException(java.util.List<java.lang.Throwable> causes)
public MultiException(java.lang.String message, java.util.List<java.lang.Throwable> causes)
public void addCause(java.lang.Throwable cause)
cause
- The cause.public java.lang.Throwable[] getCauses()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
Throwable
instance
(which may be null
).public void setText(java.lang.String message)
message
- The message.