public static class BlockGuard.BlockGuardPolicyException extends RuntimeException
| Constructor and Description |
|---|
BlockGuardPolicyException(int policyState,
int policyViolated) |
BlockGuardPolicyException(int policyState,
int policyViolated,
String message) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Returns the detail message which was provided when this
Throwable was created. |
int |
getPolicy() |
int |
getPolicyViolation() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BlockGuardPolicyException(int policyState,
int policyViolated)
public BlockGuardPolicyException(int policyState,
int policyViolated,
String message)
public int getPolicy()
public int getPolicyViolation()
public String getMessage()
ThrowableThrowable was created. Returns null if no message was
provided at creation time.getMessage in class Throwable