Class LLHTTPErrorStatusException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.io7m.looseleaf.server.internal.LLHTTPErrorStatusException
- All Implemented Interfaces:
Serializable
An exception with an associated error code and HTTP status code.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLLHTTPErrorStatusException(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
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LLHTTPErrorStatusException
-
LLHTTPErrorStatusException
-
LLHTTPErrorStatusException
-
-
Method Details
-
statusCode
public int statusCode()- Returns:
- The HTTP status code
-
errorCode
- Returns:
- The error code
-