org.talika.tarsis.command.action
Class ActionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.talika.tarsis.error.UserException
              extended by org.talika.tarsis.command.action.ActionException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UnrecoverableException

public class ActionException
extends UserException

Defines a general exception to be thrown when an action encounters difficulty.

Version:
$Revision: 113 $
Author:
Jose M. Palomar
See Also:
Serialized Form

Constructor Summary
ActionException(java.lang.String msg)
          Constructs a new ActionException with given message.
ActionException(java.lang.String msg, java.lang.Throwable rootCause)
          Constructs a new ActionException with given message and cause.
 
Method Summary
 
Methods inherited from class org.talika.tarsis.error.UserException
getRootCause
 
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(java.lang.String msg)
Constructs a new ActionException with given message.

Parameters:
msg - String text of the exception message.

ActionException

public ActionException(java.lang.String msg,
                       java.lang.Throwable rootCause)
Constructs a new ActionException with given message and cause.

Parameters:
msg - String text of the exception message.
rootCause - Throwable the Throwable exception that caused this action exception.


Copyright © 2002-2012 Talika Open Source Group. All Rights Reserved.