public class DeleteDenyException extends CayenneRuntimeException
Modifier and Type | Field and Description |
---|---|
protected Persistent |
object |
protected String |
relationship |
Constructor and Description |
---|
DeleteDenyException() |
DeleteDenyException(Persistent object,
String relationship,
String reason) |
DeleteDenyException(String message) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns message that includes Cayenne version label and the actual exception
message.
|
Persistent |
getObject() |
String |
getRelationship() |
getExceptionLabel, getUnlabeledMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected Persistent object
protected String relationship
public DeleteDenyException()
public DeleteDenyException(String message)
public DeleteDenyException(Persistent object, String relationship, String reason)
public Persistent getObject()
public String getRelationship()
public String getMessage()
CayenneRuntimeException
getMessage
in class CayenneRuntimeException
Copyright © 2001–2019 Apache Cayenne. All rights reserved.