com.bea.campaign.action
Class ActionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.bea.campaign.action.ActionException
All Implemented Interfaces
Serializable

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.

See Also
Serialized Form

Constructor Summary
ActionException()
           
ActionException(Exception e)
          Wrap the original exception.
ActionException(Exception e, String message)
          Wrap the original exception and add an Action-specific message.
ActionException(String message)
           
 
Method Summary
 Exception getEmbeddedException()
           
 
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

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)

ActionException

public ActionException()
Method Detail

getEmbeddedException

public Exception getEmbeddedException()


Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.