Package arc.util
Class Http.HttpStatusException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
arc.util.Http.HttpStatusException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Http
Exception returned when a 4xx or 5xx error is encountered.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionThe response that was sent along with the status code.The 4xx or 5xx error code. -
Constructor Summary
ConstructorDescriptionHttpStatusException
(String message, Http.HttpStatus status, Http.HttpResponse response) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
status
The 4xx or 5xx error code. -
response
The response that was sent along with the status code.
-
-
Constructor Details
-
HttpStatusException
-