public static class AIGuard.AIGuardAbortError extends RuntimeException
Important: This exception is thrown when the evaluation action is not
ALLOW (i.e., DENY or ABORT) and blocking mode is enabled.
| Constructor and Description |
|---|
AIGuardAbortError(AIGuard.Action action,
String reason,
List<String> tags) |
| Modifier and Type | Method and Description |
|---|---|
AIGuard.Action |
getAction() |
String |
getReason() |
List<String> |
getTags() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AIGuardAbortError(AIGuard.Action action, String reason, List<String> tags)
public AIGuard.Action getAction()
public String getReason()