|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.base.action.ErrorAction
public class ErrorAction
A simple action to handle errors in the system. You can redirect to this action with the 'type' parameter set then show a nice clean error page as the view.
Field Summary |
---|
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
ErrorAction()
|
Method Summary | |
---|---|
java.lang.String |
execute()
Returns Action.SUCCESS always. |
java.lang.String |
getType()
Returns the type, or classname, of the exception. |
void |
setType(java.lang.String type)
Sets the classname of the exception. |
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 java.lang.String getType()
public void setType(java.lang.String type)
type
- the classname of the exception.public java.lang.String execute() throws java.lang.Exception
Action.SUCCESS
always.
execute
in interface com.opensymphony.xwork.Action
Action.SUCCESS
always.
java.lang.Exception
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |