|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.spieleck.pcs.action.base.ErrorAction
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 |
public ErrorAction()
Method Detail |
public ActionResult perform(java.util.Hashtable parameters) throws ActionException
key | value |
---|---|
"error.type | type of error |
"error.message | error message (for user) |
"error.stack | error stack (for developer) |
perform
in interface Action
parameters
- a Hashtable for information needed to perform the ActionActionException
- if an exception occurrs during processing
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |