org.almendra.commons.util.exception
Class PropagatedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.almendra.commons.util.exception.PropagatedException
- All Implemented Interfaces:
- java.io.Serializable
public class PropagatedException
- extends java.lang.Exception
- Author:
- Oliver
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Exception |
exception
|
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 |
exception
protected java.lang.Exception exception
PropagatedException
public PropagatedException()
- Creates a new
PropagatedException
object.
PropagatedException
public PropagatedException(java.lang.String message)
- Creates a new
PropagatedException
object.
PropagatedException
public PropagatedException(java.lang.String message,
java.lang.Throwable cause)
- Creates a new
PropagatedException
object.
PropagatedException
public PropagatedException(java.lang.Throwable cause)
- Creates a new
PropagatedException
object.
getException
public java.lang.Exception getException()
- Returns:
- Returns the exception.
setException
public void setException(java.lang.Exception exception)
- Parameters:
exception
- The exception to set.
propagate
public static void propagate(java.lang.Exception ex)
throws PropagatedException
- Throws:
PropagatedException