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:
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(String message)
UnexpectedTypeException(String message, Throwable cause)
UnexpectedTypeException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-