public class PolicyViolationException extends PersistenceException
Reports an entity operation rejected by a mandatory query policy.
throw PolicyViolationException("Tenant policy rejected Customer")| Modifier and Type | Member | Description |
|---|---|---|
| public | PolicyViolationExceptionPolicyViolationException(message as String = "") |
Creates a policy violation. |