org.apache.myfaces.extensions.validator.core.interceptor
Class HtmlCoreComponentsValidationExceptionInterceptor

java.lang.Object
  extended by org.apache.myfaces.extensions.validator.core.interceptor.HtmlCoreComponentsValidationExceptionInterceptor
All Implemented Interfaces:
ValidationExceptionInterceptor

@InvocationOrder(value=100)
public class HtmlCoreComponentsValidationExceptionInterceptor
extends Object
implements ValidationExceptionInterceptor

Since:
1.x.1
Author:
Gerhard Petracek

Field Summary
protected  Logger logger
           
 
Constructor Summary
HtmlCoreComponentsValidationExceptionInterceptor()
           
 
Method Summary
 boolean afterThrowing(javax.faces.component.UIComponent uiComponent, MetaDataEntry metaDataEntry, Object convertedObject, javax.faces.validator.ValidatorException validatorException, ValidationStrategy validatorExceptionSource)
           
protected  boolean processComponent(javax.faces.component.UIComponent uiComponent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final Logger logger
Constructor Detail

HtmlCoreComponentsValidationExceptionInterceptor

public HtmlCoreComponentsValidationExceptionInterceptor()
Method Detail

afterThrowing

public boolean afterThrowing(javax.faces.component.UIComponent uiComponent,
                             MetaDataEntry metaDataEntry,
                             Object convertedObject,
                             javax.faces.validator.ValidatorException validatorException,
                             ValidationStrategy validatorExceptionSource)
Specified by:
afterThrowing in interface ValidationExceptionInterceptor
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

processComponent

protected boolean processComponent(javax.faces.component.UIComponent uiComponent)


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