|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.forum.action.JiveExceptionInterceptor
public class JiveExceptionInterceptor
Handles exceptions thrown by the action.
| Field Summary | |
|---|---|
static java.lang.String |
EXCEPTION_KEY
The action context key for the exception. |
| Constructor Summary | |
|---|---|
JiveExceptionInterceptor()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Does nothing. |
void |
init()
Does nothing. |
java.lang.String |
intercept(com.opensymphony.xwork.ActionInvocation invocation)
Returns ForumActionSupport.UNAUTHORIZED if action execution results in an unauthorized
exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EXCEPTION_KEY
| Constructor Detail |
|---|
public JiveExceptionInterceptor()
| Method Detail |
|---|
public void destroy()
destroy in interface com.opensymphony.xwork.interceptor.Interceptorpublic void init()
init in interface com.opensymphony.xwork.interceptor.Interceptorpublic java.lang.String intercept(com.opensymphony.xwork.ActionInvocation invocation)
ForumActionSupport.UNAUTHORIZED if action execution results in an unauthorized
exception. Will return ForumActionSupport.NOTFOUND if an ID fails to load.
For any general exception, ForumActionSupport.FATAL is returned. If no exceptions
result then Action.SUCCESS is returned.
intercept in interface com.opensymphony.xwork.interceptor.Interceptorinvocation - the action execution state.
Action.SUCCESS if no errors result.
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||