Class 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:
  • Field Details

  • Constructor Details

    • ReachableObjectNotCascadedException

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