Package org.hibernate
Class TypeMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.TypeMismatchException
- All Implemented Interfaces:
Serializable
Used when a user provided type does not match the expected one.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTypeMismatchException
(String message) Constructs aTypeMismatchException
using the supplied message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TypeMismatchException
Constructs aTypeMismatchException
using the supplied message.- Parameters:
message
- The message explaining the exception condition
-