Package org.datanucleus.exceptions
Class ReachableObjectNotCascadedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.exceptions.NucleusUserException
-
- org.datanucleus.exceptions.ReachableObjectNotCascadedException
-
- All Implemented Interfaces:
Serializable
public class ReachableObjectNotCascadedException extends NucleusUserException
An exception that is thrown when we have a relation to another persistable object that is not yet persistent and where the relation is not marked as cascade-persist.- See Also:
StoreManager
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReachableObjectNotCascadedException(String fieldName, Object pc)
Constructs the exception.
-
Method Summary
-
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-