xxl.util
Class WrappingRuntimeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--xxl.util.WrappingRuntimeException
- public class WrappingRuntimeException
- extends java.lang.RuntimeException
This Exception is useful for wrapping arbitrary Exceptions.
A RuntimeException can be thrown at any place in the code
and does not have to be declared via "throw" and "catch".
This means that by catching a non-RuntimeException and wrapping it
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
exception
public final java.lang.Exception exception
WrappingRuntimeException
public WrappingRuntimeException(java.lang.Exception exception)
getMessage
public java.lang.String getMessage()
- Overrides:
- getMessage in class java.lang.Throwable
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Overrides:
- getLocalizedMessage in class java.lang.Throwable
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Throwable
printStackTrace
public void printStackTrace()
- Overrides:
- printStackTrace in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Overrides:
- printStackTrace in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
- Overrides:
- printStackTrace in class java.lang.Throwable