|
|||||||||
| Home >> All >> org >> apache >> commons >> lang >> [ exception overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.commons.lang.exception
Class ExceptionUtilsTestCase.ExceptionWithCause

java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.commons.lang.exception.ExceptionUtilsTestCase.ExceptionWithCause
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- ExceptionUtilsTestCase
- private static class ExceptionUtilsTestCase.ExceptionWithCause
- extends java.lang.Exception
Provides a method with a well known chained/nested exception
name which matches the full signature (e.g. has a return value
of Throwable.
| Nested Class Summary |
| Nested classes inherited from class java.lang.Throwable |
|
| Field Summary | |
private java.lang.Throwable |
cause
|
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
ExceptionUtilsTestCase.ExceptionWithCause(java.lang.Throwable cause)
|
|
| Method Summary | |
java.lang.Throwable |
getCause()
Returns the cause of this exception, or null if the cause is not known or non-existant. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, 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 |
| Field Detail |
cause
private java.lang.Throwable cause
| Constructor Detail |
ExceptionUtilsTestCase.ExceptionWithCause
public ExceptionUtilsTestCase.ExceptionWithCause(java.lang.Throwable cause)
| Method Detail |
getCause
public java.lang.Throwable getCause()
- Description copied from class:
java.lang.Throwable - Returns the cause of this exception, or null if the cause is not known
or non-existant. This cause is initialized by the new constructors,
or by calling initCause.
|
|||||||||
| Home >> All >> org >> apache >> commons >> lang >> [ exception overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC