|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.japaki.basic.MultiCauseException
public class MultiCauseException
An exception with more than one cause.
| Constructor Summary | |
|---|---|
MultiCauseException()
Constructs a new exception without detail message. |
|
MultiCauseException(String s)
Constructs a new exception with the specified detail message. |
|
MultiCauseException(String message,
List<Throwable> causes)
Constructs a new exception with the specified detail message and causes. |
|
| Method Summary | |
|---|---|
void |
add(Throwable cause)
Appends the specified cause to the list of causes. |
List<Throwable> |
getCauses()
Returns the causes of this exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MultiCauseException()
public MultiCauseException(String s)
Throwable for details.
public MultiCauseException(String message,
List<Throwable> causes)
message - the detail messagecauses - the causes of this exception| Method Detail |
|---|
public List<Throwable> getCauses()
Throwable.getCause()public void add(Throwable cause)
cause - a new cause
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||