Package org.hibernate.query.sqm
Class UnknownEntityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.QueryException
-
- org.hibernate.query.SemanticException
-
- org.hibernate.query.sqm.UnknownEntityException
-
- All Implemented Interfaces:
Serializable
public class UnknownEntityException extends SemanticException
Indicates we were not able to resolve a given "path structure" as an entity name. NOTE : JPA generally requires this to be reported as the far less useful IllegalArgumentException. todo (6.0) : account for this in the "exception conversion" handling- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownEntityException(String entityName)
UnknownEntityException(String message, String entityName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEntityName()
-
Methods inherited from class org.hibernate.QueryException
generateQueryException, getMessage, getOriginalMessage, getQueryString, wrapWithQueryString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-