org.makumba.commons
Class RuntimeWrappedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
RuntimeWrappedException(String message)
           
RuntimeWrappedException(Throwable e)
          wrap the given exception
 
Method Summary
 
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

RuntimeWrappedException

public RuntimeWrappedException(Throwable e)
wrap the given exception


RuntimeWrappedException

public RuntimeWrappedException(String message)