程序包 org.hibernate
类 ObjectDeletedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.UnresolvableObjectException
-
- org.hibernate.ObjectDeletedException
-
- 所有已实现的接口:
Serializable
public class ObjectDeletedException extends UnresolvableObjectException
Thrown when the user tries to do something illegal with a deleted object.- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 ObjectDeletedException(String message, Serializable identifier, String entityName)Constructs an ObjectDeletedException using the given information.
-
方法概要
-
从类继承的方法 org.hibernate.UnresolvableObjectException
getEntityName, getIdentifier, getMessage, throwIfNull
-
-
-
-
构造器详细资料
-
ObjectDeletedException
public ObjectDeletedException(String message, Serializable identifier, String entityName)
Constructs an ObjectDeletedException using the given information.- 参数:
message- A message explaining the exception conditionidentifier- The identifier of the entityentityName- The name of the entity
-
-