public class PersistentObjectException extends HibernateException
Thrown when the user passes a persistent instance to a <tt>Session</tt> method that expects a transient instance.
| Constructor and Description |
|---|
PersistentObjectException(String message)
Constructs a PersistentObjectException using the given message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PersistentObjectException(String message)
Constructs a PersistentObjectException using the given message.
message - A message explaining the exception conditionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.