Package org.hibernate
Class UnknownEntityTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.MappingException
-
- org.hibernate.UnknownEntityTypeException
-
- All Implemented Interfaces:
Serializable
public class UnknownEntityTypeException extends MappingException
Indicates an attempt was made to refer to an unknown entity name or class.- See Also:
- Serialized Form
- Implementation Note:
- This class extends
MappingException
for legacy reasons. Longer term I think it makes more sense to have a different hierarchy for runtime-"mapping" exceptions.
-
-
Constructor Summary
Constructors Constructor Description UnknownEntityTypeException(String message)
UnknownEntityTypeException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-