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:
ErrorInfo

public class ActionError
extends ErrorObject


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.empire.commons.ErrorObject
ErrorObject.ObjectErrorInfo
 
Constructor Summary
ActionError(ErrorInfo other)
           
ActionError(ErrorType errType)
           
ActionError(ErrorType errType, java.lang.Exception exptn)
           
ActionError(ErrorType errType, java.lang.Object param)
           
ActionError(ErrorType errType, java.lang.Object[] params)
           
ActionError(ErrorType errType, java.lang.Object param1, java.lang.Object param2)
           
ActionError(java.lang.Throwable exptn)
           
 
Method Summary
protected  void clearErrorInfo()
          Clears the ErrorInfo.
protected  ErrorObject.ObjectErrorInfo getErrorInfo(boolean create)
          getErrorInfo
 java.lang.String toString()
           
 
Methods inherited from class org.apache.empire.commons.ErrorObject
clearError, error, error, error, error, error, error, error, getErrorMessage, getErrorParams, getErrorSource, getErrorType, getMessage, hasError, internalSetError, isExceptionsEnabled, setExceptionsEnabled, success
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionError

public ActionError(ErrorInfo other)
See Also:
ErrorObject.error(ErrorInfo)

ActionError

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

ActionError

public ActionError(ErrorType errType)
See Also:
ErrorObject.error(ErrorType)

ActionError

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

ActionError

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

ActionError

public ActionError(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

getErrorInfo

protected ErrorObject.ObjectErrorInfo getErrorInfo(boolean create)
Description copied from class: ErrorObject
getErrorInfo

Overrides:
getErrorInfo in class ErrorObject

clearErrorInfo

protected void clearErrorInfo()
Description copied from class: ErrorObject
Clears the ErrorInfo.

Overrides:
clearErrorInfo in class ErrorObject

toString

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


Copyright © 2008-2009 Apache Software Foundation. All Rights Reserved.