org.apache.myfaces.extensions.validator.core.interceptor
Interface ValidationExceptionInterceptor

All Known Implementing Classes:
HtmlCoreComponentsValidationExceptionInterceptor, ViolationExceptionInterceptor, ViolationSeverityValidationExceptionInterceptor

@InvocationOrderSupport
public interface ValidationExceptionInterceptor

Allows to intercept ValidatorException.

Since:
1.x.1
Author:
Gerhard Petracek

Method Summary
 boolean afterThrowing(javax.faces.component.UIComponent uiComponent, MetaDataEntry metaDataEntry, Object convertedObject, javax.faces.validator.ValidatorException validatorException, ValidationStrategy validatorExceptionSource)
           
 

Method Detail

afterThrowing

boolean afterThrowing(javax.faces.component.UIComponent uiComponent,
                      MetaDataEntry metaDataEntry,
                      Object convertedObject,
                      javax.faces.validator.ValidatorException validatorException,
                      ValidationStrategy validatorExceptionSource)
Parameters:
uiComponent - the current component
metaDataEntry - the meta data entry which contains the meta data of the property
convertedObject - the converted user input
validatorException - the current exception
validatorExceptionSource - validation strategy which threw the exception
Returns:
false to stop throwing the exception


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.