Class PolicyValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.elasticsearch.entitlement.runtime.policy.PolicyValidationException
- All Implemented Interfaces:
Serializable
This exception is used to track validation errors thrown during the construction
of entitlements. By using this instead of other exception types the policy
parser is able to wrap this exception with a line/character number for
additional useful error information.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPolicyValidationException(String message) PolicyValidationException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PolicyValidationException
-
PolicyValidationException
-