|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hibernate.HibernateException
org.hibernate.TransientObjectException
org.hibernate.TransientPropertyValueException
public class TransientPropertyValueException
Thrown when a property cannot be persisted because it is an association with a transient unsaved entity instance.
| Constructor Summary | |
|---|---|
TransientPropertyValueException(String message,
String transientEntityName,
String propertyOwnerEntityName,
String propertyName)
Constructs an TransientPropertyValueException instance. |
|
| Method Summary | |
|---|---|
String |
getMessage()
Return the exception message. |
String |
getPropertyName()
Returns the property name. |
String |
getPropertyOwnerEntityName()
Returns the entity name for entity that owns the association property. |
String |
getTransientEntityName()
Returns the entity name for the transient entity. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, 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 |
|---|
public TransientPropertyValueException(String message,
String transientEntityName,
String propertyOwnerEntityName,
String propertyName)
TransientPropertyValueException instance.
message - - the exception message;transientEntityName - - the entity name for the transient entitypropertyOwnerEntityName - - the entity name for entity that owns
the association property.propertyName - - the property name| Method Detail |
|---|
public String getTransientEntityName()
public String getPropertyOwnerEntityName()
public String getPropertyName()
public String getMessage()
getMessage in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||