More information


de.spieleck.pcs.action.base
Class ErrorAction

java.lang.Object
  |
  +--de.spieleck.pcs.action.base.ErrorAction
All Implemented Interfaces:
Action

public class ErrorAction
extends java.lang.Object
implements Action

This action is used by the controller servlet for error handling


Constructor Summary
ErrorAction()
          Creates a new instance of ErrorAction
 
Method Summary
 ActionResult perform(java.util.Hashtable parameters)
          parameters must contain the following:keyvalue "error.typetype of error "error.messageerror message (for user) "error.stackerror stack (for developer) All keys and values are Strings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorAction

public ErrorAction()
Creates a new instance of ErrorAction
Method Detail

perform

public ActionResult perform(java.util.Hashtable parameters)
                     throws ActionException
parameters must contain the following:
keyvalue
"error.typetype of error
"error.messageerror message (for user)
"error.stackerror stack (for developer)
All keys and values are Strings.
Specified by:
perform in interface Action
Parameters:
parameters - a Hashtable for information needed to perform the Action
Returns:
an instance of ActionResult as result of the Action
Throws:
ActionException - if an exception occurrs during processing

More information