org.makumba.commons
Class RuntimeWrappedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.makumba.commons.RuntimeWrappedException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ReconnectedException
public class RuntimeWrappedException
- extends RuntimeException
Wraps an exception to throw it further as a RuntimeException. Stacktraces of this exception will actually print the
stracktrace of the wrapped exception. TODO: this can be done in a more standard way since Java 1.4, so this should be
refactored.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RuntimeWrappedException
public RuntimeWrappedException(Throwable e)
- wrap the given exception
RuntimeWrappedException
public RuntimeWrappedException(String message)