nl.openedge.baritus.interceptors
Interface PopulationErrorInterceptor

All Superinterfaces:
Interceptor

public interface PopulationErrorInterceptor
extends Interceptor

Registered instances will have their command method executed if the model failed to populate, or did not pass validation.

Author:
Eelco Hillenius

Method Summary
 void doOnPopulationError(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext, java.lang.Exception cause)
          Executed if the model failed to populate, or did not pass validation.
 

Method Detail

doOnPopulationError

public void doOnPopulationError(org.infohazard.maverick.flow.ControllerContext cctx,
                                FormBeanContext formBeanContext,
                                java.lang.Exception cause)
                         throws javax.servlet.ServletException,
                                DispatchNowFlowException,
                                ReturnNowFlowException
Executed if the model failed to populate, or did not pass validation.

Parameters:
cctx - maverick context
formBeanContext - context with form bean that failed to populate
cause - possibly the exception that caused the population error
Throws:
javax.servlet.ServletException
RedirectingException - when an interceptor wants to redirect
DirectReturnFlowException - when an interceptor wants to return directly
DispatchNowFlowException
ReturnNowFlowException


Copyright © 2003-2004 Open Edge. All Rights Reserved.