# Class LLHTTPErrorStatusException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.io7m.looseleaf.server.internal.LLHTTPErrorStatusException

All Implemented Interfaces:
  `Serializable`

public final class LLHTTPErrorStatusException extends Exception
An exception with an associated error code and HTTP status code.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LLHTTPErrorStatusException(int inStatusCode, String inErrorCode, String inMessage)`
  Construct an exception.
  `LLHTTPErrorStatusException(int inStatusCode, String inErrorCode, String inMessage, Throwable cause)`
  Construct an exception.
  `LLHTTPErrorStatusException(int inStatusCode, String inErrorCode, Throwable cause)`
  Construct an exception.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `errorCode()`
  `int`
  `statusCode()`

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### LLHTTPErrorStatusException

    public LLHTTPErrorStatusException(int inStatusCode, String inErrorCode, String inMessage)
    Construct an exception.
    Parameters:
      `inStatusCode` - The HTTP status code
      `inErrorCode` - The error code
      `inMessage` - The error message

  - ### LLHTTPErrorStatusException

    public LLHTTPErrorStatusException(int inStatusCode, String inErrorCode, String inMessage, Throwable cause)
    Construct an exception.
    Parameters:
      `inStatusCode` - The HTTP status code
      `inErrorCode` - The error code
      `inMessage` - The error message
      `cause` - The cause

  - ### LLHTTPErrorStatusException

    public LLHTTPErrorStatusException(int inStatusCode, String inErrorCode, Throwable cause)
    Construct an exception.
    Parameters:
      `inStatusCode` - The HTTP status code
      `inErrorCode` - The error code
      `cause` - The cause

- ## Method Details

  - ### statusCode

    public int statusCode()
    Returns:
      The HTTP status code

  - ### errorCode

    public String errorCode()
    Returns:
      The error code