org.almendra.commons.util.exception
Class PropagatedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
           
 
Constructor Summary
PropagatedException()
          Creates a new PropagatedException object.
PropagatedException(java.lang.String message)
          Creates a new PropagatedException object.
PropagatedException(java.lang.String message, java.lang.Throwable cause)
          Creates a new PropagatedException object.
PropagatedException(java.lang.Throwable cause)
          Creates a new PropagatedException object.
 
Method Summary
 java.lang.Exception getException()
           
static void propagate(java.lang.Exception ex)
           
 void setException(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
 

Field Detail

exception

protected java.lang.Exception exception
Constructor Detail

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.

Method Detail

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