Class ReachableObjectNotCascadedException

  • All Implemented Interfaces:

    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 Detail

      • ReachableObjectNotCascadedException

        public ReachableObjectNotCascadedException​(String fieldName,
                                                   Object pc)
        Constructs the exception.
        fieldName - Name of the field where the non-persisted object is stored.
        pc - The object that is not persisted and not cascadable