Class StopCodeException

    • Constructor Detail

      • StopCodeException

        public StopCodeException​(int statusCode,
                                 String message)
        Constructs a stop code exception with a message.
        Parameters:
        statusCode - The status code received from the response
        message - A message about the exception
      • StopCodeException

        public StopCodeException​(int statusCode,
                                 String message,
                                 Throwable cause)
        Constructs a stop code exception with a message and a cause.
        Parameters:
        statusCode - The status code received from the response
        message - A message about the exception
        cause - The cause of the exception
      • StopCodeException

        public StopCodeException​(int statusCode,
                                 Throwable cause)
        Constructs a stop code exception with a cause.
        Parameters:
        statusCode - The status code received from the response
        cause - The cause of the exception
      • StopCodeException

        public StopCodeException​(int statusCode,
                                 String message,
                                 Throwable cause,
                                 boolean enableSuppression,
                                 boolean writableStackTrace)
        Constructs a stop code exception with a message and a cause.
        Parameters:
        statusCode - The status code received from the response
        message - A message about the exception
        cause - The cause of the exception
        enableSuppression - Enable suppression.
        writableStackTrace - Enable writable stack trace.