Package akka.javasdk.agent
Class Guardrail.GuardrailException
Object
Throwable
Exception
RuntimeException
akka.javasdk.agent.Guardrail.GuardrailException
- All Implemented Interfaces:
Serializable
- Enclosing interface:
Guardrail
Thrown when
report-only is false and a guardrail denies the call or fails.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGuardrailException(String message) GuardrailException(String message, Throwable cause) The cause is the error of a guardrail that failed, ornullfor a denial. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GuardrailException
-
GuardrailException
The cause is the error of a guardrail that failed, ornullfor a denial.
-