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

    • object

      protected Persistent object
    • relationship

      protected String relationship
  • Constructor Details

    • DeleteDenyException

      public DeleteDenyException()
    • DeleteDenyException

      public DeleteDenyException(String message)
    • DeleteDenyException

      public DeleteDenyException(Persistent object, String relationship, String reason)
      Since:
      1.2
  • Method Details