|
||||||||||
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
org.codehaus.aspectwerkz.exception.WrappedRuntimeException
Wrappes the original throwable in a RuntimeException.
Constructor Summary | |
WrappedRuntimeException(java.lang.Throwable throwable)
Creates a new WrappedRuntimeException. |
Method Summary | |
java.lang.Throwable |
getCause()
Returns the original exception. |
java.lang.String |
getLocalizedMessage()
Returns the localized description of the wrapped exception in order to produce a locale-specific message. |
java.lang.String |
getMessage()
Returns the error message string of the wrapped exception. |
void |
printStackTrace()
Prints the wrapped exception A its backtrace to the standard error stream. |
void |
printStackTrace(java.io.PrintStream s)
Prints the wrapped excpetion A its backtrace to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter s)
Prints the wrapped exception A its backtrace to the specified print writer. |
java.lang.String |
toString()
Returns a short description of the wrapped exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WrappedRuntimeException(java.lang.Throwable throwable)
throwable
- the non-RuntimeException to be wrapped.Method Detail |
public java.lang.String getMessage()
public java.lang.String getLocalizedMessage()
public java.lang.Throwable getCause()
public java.lang.String toString()
public void printStackTrace()
public void printStackTrace(java.io.PrintStream s)
s
- the print streampublic void printStackTrace(java.io.PrintWriter s)
s
- the print writer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |