|
|||||||||||
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(Throwable throwable)
Creates a new WrappedRuntimeException. |
Method Summary | |
Throwable |
getCause()
Returns the original exception. |
String |
getLocalizedMessage()
Returns the localized description of the wrapped exception in order to produce a locale-specific message. |
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(PrintStream s)
Prints the wrapped excpetion A its backtrace to the specified print stream. |
void |
printStackTrace(PrintWriter s)
Prints the wrapped exception A its backtrace to the specified print writer. |
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WrappedRuntimeException(Throwable throwable)
throwable
- the non-RuntimeException to be wrapped.Method Detail |
public String getMessage()
public String getLocalizedMessage()
public Throwable getCause()
public String toString()
public void printStackTrace()
public void printStackTrace(PrintStream s)
s
- the print streampublic void printStackTrace(PrintWriter s)
s
- the print writer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |