Package org.hibernate

Class PersistentObjectException

  • All Implemented Interfaces:

    public class PersistentObjectException
    extends HibernateException
    Thrown when the user passes a persistent instance to a Session method that expects a transient instance.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructor Description
      PersistentObjectException​(java.lang.String message)
      Constructs a PersistentObjectException using the given message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PersistentObjectException

        public PersistentObjectException​(java.lang.String message)
        Constructs a PersistentObjectException using the given message.
        message - A message explaining the exception condition