org.hibernate

Class PersistentObjectException

Implemented Interfaces:
Nestable

public class PersistentObjectException
extends HibernateException

Thrown when the user passes a persistent instance to a Session method that expects a transient instance.
Author:
Gavin King

Field Summary

Fields inherited from class org.hibernate.exception.NestableRuntimeException

delegate

Constructor Summary

PersistentObjectException(String s)
Constructs a new NestableRuntimeException with specified detail message.

Method Summary

Methods inherited from class org.hibernate.exception.NestableRuntimeException

getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace

Constructor Details

PersistentObjectException

public PersistentObjectException(String s)
Constructs a new NestableRuntimeException with specified detail message.
Parameters: