Class GuardRailViolationException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public final class GuardRailViolationException
    extends RuntimeException
                        

    Exception thrown when a guardrail detects a critical policy violation.

    Critical violations block execution to prevent potentially harmful, inappropriate, or policy-violating content from being processed.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getGuard()
      final String getViolation()
      final ValidationSeverity getSeverity()
      • Methods inherited from class kotlin.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait