Class ConversionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.validation.ValidationException
-
- javax.validation.ConstraintViolationException
-
- com.networknt.kafka.common.converter.ConversionException
-
- All Implemented Interfaces:
Serializable
public class ConversionException extends javax.validation.ConstraintViolationExceptionException thrown when conversion fails. Since this should generally be converted into a 422 HTTP status, this class extends ConstraintViolationException so you get the expected behavior if you don't catch the exception.- See Also:
- Serialized Form
-
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-