Package jakarta.validation
Class UnexpectedTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.validation.ValidationException
-
- jakarta.validation.ConstraintDeclarationException
-
- jakarta.validation.UnexpectedTypeException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnexpectedTypeException extends ConstraintDeclarationException
Exception raised in the case that the constraint validator resolution cannot determine a suitable validator for a given type.- Author:
- Hardy Ferentschik
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnexpectedTypeException()
UnexpectedTypeException(java.lang.String message)
UnexpectedTypeException(java.lang.String message, java.lang.Throwable cause)
UnexpectedTypeException(java.lang.Throwable cause)
-
-
-
Constructor Detail
-
UnexpectedTypeException
public UnexpectedTypeException(java.lang.String message)
-
UnexpectedTypeException
public UnexpectedTypeException()
-
UnexpectedTypeException
public UnexpectedTypeException(java.lang.String message, java.lang.Throwable cause)
-
UnexpectedTypeException
public UnexpectedTypeException(java.lang.Throwable cause)
-
-