Package org.hibernate.query.sqm
Class EntityTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.hibernate.query.sqm.EntityTypeException
-
- All Implemented Interfaces:
Serializable
public class EntityTypeException extends IllegalArgumentException
Indicates that a reference to an entity, that is, a given entity name or Java class object, did not resolve to a known mapped entity type.- Since:
- 6.3
- See Also:
- Serialized Form
- API Note:
- extends
IllegalArgumentException
to satisfy a questionable requirement of the JPA criteria query API
-
-
Constructor Summary
Constructors Constructor Description EntityTypeException(String message, String reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getReference()
The entity name or the name of the Java class.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-