com.hack23.cia.web.api.common
Class ApplicationErrorAction

Package class diagram package ApplicationErrorAction
java.lang.Object
  extended by com.hack23.cia.web.api.common.AbstractAction
      extended by com.hack23.cia.web.api.common.ApplicationErrorAction
All Implemented Interfaces:
ControllerAction, Serializable

public class ApplicationErrorAction
extends AbstractAction

The Class ApplicationErrorAction.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
ApplicationErrorAction(StackTraceElement[] stackTraceElements, String errorMessage)
          Instantiates a new application error action.
 
Method Summary
Modifier and Type Method and Description
 String getErrorMessage()
          Gets the error message.
 StackTraceElement[] getStackTraceElements()
          Gets the stack trace elements.
 
Methods inherited from class com.hack23.cia.web.api.common.AbstractAction
getActionCategory, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationErrorAction

public ApplicationErrorAction(StackTraceElement[] stackTraceElements,
                              String errorMessage)
Instantiates a new application error action.

Parameters:
stackTraceElements - the stack trace elements
errorMessage - the error message
Method Detail

getErrorMessage

public final String getErrorMessage()
Gets the error message.

Returns:
the error message

getStackTraceElements

public final StackTraceElement[] getStackTraceElements()
Gets the stack trace elements.

Returns:
the stack trace elements


Copyright © 2008-2010 www.hack23.com. All Rights Reserved.