ActionException Class

com.bea.campaign.action
ActionException Class

public class ActionException

    extends Exception

Generic exception to be thrown by an Action implementation so that Action clients can just check for this one type, regardless of what the action is doing.


Hierarchy
Object
  Throwable
    Exception
      ActionException
All Implemented Interfaces

Serializable

Constructor Summary

ActionException()

ActionException(Exception e, String message)

Wrap the original exception and add an Action-specific message.
ActionException(Exception e)

Wrap the original exception.
ActionException(String message)

 

Method Summary

public Exception
getEmbeddedException()
 
Methods from  java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

ActionException

public ActionException()

ActionException

public ActionException(Exception e, 
                       String message)
Wrap the original exception and add an Action-specific message.

ActionException

public ActionException(Exception e)
Wrap the original exception. The original exception's message will become this exception's message.

ActionException

public ActionException(String message)
 

Method Detail

getEmbeddedException() Method

public Exception getEmbeddedException()