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
public class TypeMismatchException extends HibernateException
Used when a user provided type does not match the expected one.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypeMismatchException(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 Detail
-
TypeMismatchException
public TypeMismatchException(String message)
Constructs aTypeMismatchException
using the supplied message.- Parameters:
message
- The message explaining the exception condition
-
-