|
APTCONVERT 1.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
fr.pixware.util.WrappedException
public abstract class WrappedException
Base class for exceptions which are wrappers around other exceptions. This type of exception keep a record of the original exception, that is, the one which was used to actually report a problem.
| Constructor Summary | |
|---|---|
WrappedException()
Constructs an exception with no original exception and no detail message. |
|
WrappedException(java.lang.Exception e)
Constucts an exception with an original exception but no detail message. |
|
WrappedException(java.lang.Exception e,
java.lang.String message)
Constucts an exception with both an original exception and an detail message. |
|
WrappedException(java.lang.String message)
Constructs an exception with a detail message but no original exception. |
|
| Method Summary | |
|---|---|
java.lang.Exception |
getRootException()
Returns the original 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 WrappedException()
public WrappedException(java.lang.String message)
message - the detail messagepublic WrappedException(java.lang.Exception e)
e - the original exception
public WrappedException(java.lang.Exception e,
java.lang.String message)
e - the original exceptionmessage - the detail message; if null, the detail message of the
original exception if any is used instead (it is this message which is
returned by Throwable.getMessage())| Method Detail |
|---|
public java.lang.Exception getRootException()
null otherwise
|
APTCONVERT 1.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||