com.opensymphony.xwork.interceptor
Class ConversionErrorInterceptor
java.lang.Object
com.opensymphony.xwork.interceptor.AroundInterceptor
com.opensymphony.xwork.interceptor.ConversionErrorInterceptor
- All Implemented Interfaces:
- Interceptor
- public class ConversionErrorInterceptor
- extends AroundInterceptor
ConversionErrorInterceptor adds conversion errors from the ActionContext to the Action's field errors
- Author:
- Jason Carreira
Date: Nov 27, 2003 3:57:06 PM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORIGINAL_PROPERTY_OVERRIDE
public static final String ORIGINAL_PROPERTY_OVERRIDE
- See Also:
- Constant Field Values
ConversionErrorInterceptor
public ConversionErrorInterceptor()
getOverrideExpr
protected Object getOverrideExpr(ActionInvocation invocation,
Object value)
after
protected void after(ActionInvocation dispatcher,
String result)
throws Exception
- Description copied from class:
AroundInterceptor
- Called after the invocation has been executed.
- Specified by:
after
in class AroundInterceptor
- Parameters:
result
- the result value returned by the invocation
- Throws:
Exception
before
protected void before(ActionInvocation invocation)
throws Exception
- Description copied from class:
AroundInterceptor
- Called before the invocation has been executed.
- Specified by:
before
in class AroundInterceptor
- Throws:
Exception
shouldAddError
protected boolean shouldAddError(String propertyName,
Object value)