PolicyViolationException
classin packageklyn.data
public class PolicyViolationException extends PersistenceException:
└ PolicyViolationException

Reports an entity operation rejected by a mandatory query policy.

throw PolicyViolationException("Tenant policy rejected Customer")
Inherited Properties
propertyInherited Properties from Exception: message
propertyInherited Properties from Object: type
Constructors
Modifier and Type Member Description
public PolicyViolationException Creates a policy violation.
Inherited Methods
methodInherited Methods from UncheckedException: toString
methodInherited Methods from Exception: toString
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toString, toXml