Class BeanValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.camel.CamelException
-
- org.apache.camel.CamelExchangeException
-
- org.apache.camel.ValidationException
-
- org.apache.camel.component.bean.validator.BeanValidationException
-
- All Implemented Interfaces:
Serializable
public class BeanValidationException extends org.apache.camel.ValidationException
A bean validation exception occurred- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BeanValidationException(org.apache.camel.Exchange exchange, Set<javax.validation.ConstraintViolation<Object>> constraintViolations, Object bean)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-