org.apache.myfaces.extensions.validator.core.interceptor
Interface ValidationExceptionInterceptor
- All Known Implementing Classes:
- HtmlCoreComponentsValidationExceptionInterceptor, TrinidadValidationExceptionInterceptor, ViolationExceptionInterceptor, ViolationSeverityValidationExceptionInterceptor
@InvocationOrderSupport
public interface ValidationExceptionInterceptor
Allows to intercept ValidatorException
.
- Since:
- 1.x.1
- Author:
- Gerhard Petracek
afterThrowing
boolean afterThrowing(javax.faces.component.UIComponent uiComponent,
MetaDataEntry metaDataEntry,
Object convertedObject,
javax.faces.validator.ValidatorException validatorException,
ValidationStrategy validatorExceptionSource)
- Parameters:
uiComponent
- the current componentmetaDataEntry
- the meta data entry which contains the meta data of the propertyconvertedObject
- the converted user inputvalidatorException
- the current exceptionvalidatorExceptionSource
- validation strategy which threw the exception
- Returns:
- false to stop throwing the exception
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.