org.apache.empire.struts2.actionsupport
Class ActionError

java.lang.Object
  extended by org.apache.empire.commons.ErrorObject
      extended by org.apache.empire.struts2.actionsupport.ActionError
All Implemented Interfaces:
org.apache.empire.commons.ErrorInfo

public class ActionError
extends org.apache.empire.commons.ErrorObject


Constructor Summary
ActionError(org.apache.empire.commons.ErrorInfo other)
           
ActionError(org.apache.empire.commons.ErrorType errType)
           
ActionError(org.apache.empire.commons.ErrorType errType, java.lang.Exception exptn)
           
ActionError(org.apache.empire.commons.ErrorType errType, java.lang.Object param)
           
ActionError(org.apache.empire.commons.ErrorType errType, java.lang.Object[] params)
           
ActionError(org.apache.empire.commons.ErrorType errType, java.lang.Object param1, java.lang.Object param2)
           
ActionError(java.lang.Throwable exptn)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class org.apache.empire.commons.ErrorObject
clearError, getErrorMessage, getErrorParams, getErrorSource, getErrorType, getMessage, hasError, isExceptionsEnabled, setExceptionsEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionError

public ActionError(org.apache.empire.commons.ErrorInfo other)
See Also:
ErrorObject.error(ErrorInfo)

ActionError

public ActionError(org.apache.empire.commons.ErrorType errType,
                   java.lang.Object[] params)
See Also:
ErrorObject.error(ErrorType, Object[])

ActionError

public ActionError(org.apache.empire.commons.ErrorType errType)
See Also:
ErrorObject.error(ErrorType)

ActionError

public ActionError(org.apache.empire.commons.ErrorType errType,
                   java.lang.Object param)
See Also:
ErrorObject.error(ErrorType, Object)

ActionError

public ActionError(org.apache.empire.commons.ErrorType errType,
                   java.lang.Object param1,
                   java.lang.Object param2)
See Also:
ErrorObject.error(ErrorType, Object, Object)

ActionError

public ActionError(org.apache.empire.commons.ErrorType errType,
                   java.lang.Exception exptn)
See Also:
ErrorObject.error(ErrorType, Throwable)

ActionError

public ActionError(java.lang.Throwable exptn)
See Also:
ErrorObject.error(Throwable)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
the error message for this Action Error