Class PolicyParserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.elasticsearch.entitlement.runtime.policy.PolicyParserException
- All Implemented Interfaces:
Serializable
An exception specifically for policy parsing errors.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic PolicyParserExceptionnewPolicyParserException(XContentLocation location, String policyName, String message) static PolicyParserExceptionnewPolicyParserException(XContentLocation location, String policyName, String scopeName, String message) static PolicyParserExceptionnewPolicyParserException(XContentLocation location, String policyName, String scopeName, String entitlementType, String message) static PolicyParserExceptionnewPolicyParserException(XContentLocation location, String policyName, String scopeName, String entitlementType, PolicyValidationException cause) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
newPolicyParserException
public static PolicyParserException newPolicyParserException(XContentLocation location, String policyName, String message) -
newPolicyParserException
public static PolicyParserException newPolicyParserException(XContentLocation location, String policyName, String scopeName, String message) -
newPolicyParserException
public static PolicyParserException newPolicyParserException(XContentLocation location, String policyName, String scopeName, String entitlementType, String message) -
newPolicyParserException
public static PolicyParserException newPolicyParserException(XContentLocation location, String policyName, String scopeName, String entitlementType, PolicyValidationException cause)
-