Class CAServerException

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

public final class CAServerException extends CAException
The type of exceptions raised by the server.
See Also:
  • Constructor Details

    • CAServerException

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

      public CAServerException(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 kind
      inAttributes - The error attributes
      inRemediatingAction - The remediating action, if any