Class DeleteDenyException

  • All Implemented Interfaces:
    Serializable

    public class DeleteDenyException
    extends CayenneRuntimeException
    An exception thrown during an attempt to delete an object that has a relationship to a non-null related object, that has a DENY delete rule.
    Since:
    1.2
    See Also:
    Serialized Form
    • Constructor Detail

      • DeleteDenyException

        public DeleteDenyException()
      • DeleteDenyException

        public DeleteDenyException​(String message)
      • DeleteDenyException

        public DeleteDenyException​(Persistent object,
                                   String relationship,
                                   String reason)
        Since:
        1.2