org.apache.camel.component.bean.validator
Class BeanValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.camel.CamelException
              extended by org.apache.camel.CamelExchangeException
                  extended by org.apache.camel.ValidationException
                      extended by org.apache.camel.component.bean.validator.BeanValidationException
All Implemented Interfaces:
Serializable

public class BeanValidationException
extends org.apache.camel.ValidationException

A bean validation exception occurred

Version:
See Also:
Serialized Form

Constructor Summary
BeanValidationException(org.apache.camel.Exchange exchange, Set<javax.validation.ConstraintViolation<Object>> constraintViolations, Object bean)
           
 
Method Summary
protected static String buildMessage(Set<javax.validation.ConstraintViolation<Object>> constraintViolations, Object bean)
           
 Set<javax.validation.ConstraintViolation<Object>> getConstraintViolations()
           
 
Methods inherited from class org.apache.camel.CamelExchangeException
createExceptionMessage, getExchange
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanValidationException

public BeanValidationException(org.apache.camel.Exchange exchange,
                               Set<javax.validation.ConstraintViolation<Object>> constraintViolations,
                               Object bean)
Method Detail

buildMessage

protected static String buildMessage(Set<javax.validation.ConstraintViolation<Object>> constraintViolations,
                                     Object bean)

getConstraintViolations

public Set<javax.validation.ConstraintViolation<Object>> getConstraintViolations()


Apache CAMEL