Class CASecurityException

All Implemented Interfaces:
com.io7m.seltzer.api.SStructuredErrorExceptionType<CAErrorCode>, com.io7m.seltzer.api.SStructuredErrorType<CAErrorCode>, Serializable

public final class CASecurityException extends CAException
The type of exceptions raised during security policy evaluations.
See Also:
  • Constructor Details

    • CASecurityException

      public CASecurityException(String message, CAErrorCode inErrorCode, Map<String,String> inAttributes, Optional<String> inRemediatingAction)
      Construct an exception.
      Parameters:
      message - The message
      inErrorCode - The error code
      inAttributes - The error attributes
      inRemediatingAction - The remediating action, if any
    • CASecurityException

      public CASecurityException(String message, Throwable cause, CAErrorCode inErrorCode, Map<String,String> inAttributes, Optional<String> inRemediatingAction)
      Construct an exception.
      Parameters:
      message - The message
      cause - The cause
      inErrorCode - The error code
      inAttributes - The error attributes
      inRemediatingAction - The remediating action, if any