Package org.hibernate.graph
Class CannotBecomeEntityGraphException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.graph.CannotBecomeEntityGraphException
-
- All Implemented Interfaces:
Serializable
public class CannotBecomeEntityGraphException extends HibernateException
Indicates an illegal attempt to make aGraphbecome anEntityGraphviaGraph.makeRootGraph(String, boolean). Generally this happens because the Graph describes an embeddable, whereas an EntityGraph by definition is only valid for an entity.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CannotBecomeEntityGraphException(String 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
-
CannotBecomeEntityGraphException
public CannotBecomeEntityGraphException(String message)
-
-