Class HttpResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.web.WebException
org.refcodes.web.HttpException
org.refcodes.web.HttpStatusException
org.refcodes.web.HttpResponseException
- All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>, UrlAccessor
- Direct Known Subclasses:
BadInvocationException, BadResponseException
Thrown by a HTTP-Response handling system in case of some unexpected
response.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodePropertyNested classes/interfaces inherited from interface org.refcodes.mixin.StatusCodeAccessor
org.refcodes.mixin.StatusCodeAccessor.StatusCodeBuilder<SC,B>, org.refcodes.mixin.StatusCodeAccessor.StatusCodeMutator<SC>, org.refcodes.mixin.StatusCodeAccessor.StatusCodeProperty<SC> Nested classes/interfaces inherited from interface UrlAccessor
UrlAccessor.UrlBuilder, UrlAccessor.UrlMutator, UrlAccessor.UrlProperty -
Field Summary
Fields inherited from class HttpStatusException
_httpStatusCode -
Constructor Summary
ConstructorsConstructorDescriptionHttpResponseException(String aMessage, HttpStatusCode aStatusCode) HttpResponseException(String aMessage, HttpStatusCode aStatusCode, String aErrorCode) HttpResponseException(String aMessage, HttpStatusCode aStatusCode, Throwable aCause) HttpResponseException(String aMessage, HttpStatusCode aStatusCode, Throwable aCause, String aErrorCode) HttpResponseException(String aMessage, HttpStatusCode aStatusCode, Url aUrl) HttpResponseException(String aMessage, HttpStatusCode aStatusCode, Url aUrl, String aErrorCode) HttpResponseException(String aMessage, HttpStatusCode aStatusCode, Url aUrl, Throwable aCause) HttpResponseException(String aMessage, HttpStatusCode aStatusCode, Url aUrl, Throwable aCause, String aErrorCode) HttpResponseException(Throwable aCause, HttpStatusCode aStatusCode) HttpResponseException(Throwable aCause, HttpStatusCode aStatusCode, String aErrorCode) HttpResponseException(HttpStatusCode aStatusCode, Throwable aCause) HttpResponseException(HttpStatusCode aStatusCode, Throwable aCause, String aErrorCode) HttpResponseException(HttpStatusCode aStatusCode, Url aUrl, Throwable aCause) HttpResponseException(HttpStatusCode aStatusCode, Url aUrl, Throwable aCause, String aErrorCode) -
Method Summary
Methods inherited from class HttpStatusException
getPatternArguments, getStatusCode, getUrlMethods inherited from class org.refcodes.exception.AbstractException
getErrorCode, getMessageMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.refcodes.exception.Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
HttpResponseException
-
HttpResponseException
public HttpResponseException(String aMessage, HttpStatusCode aStatusCode, Throwable aCause, String aErrorCode) -
HttpResponseException
-
HttpResponseException
-
HttpResponseException
-
HttpResponseException
-
HttpResponseException
-
HttpResponseException
-
HttpResponseException
public HttpResponseException(HttpStatusCode aStatusCode, Url aUrl, Throwable aCause, String aErrorCode) -
HttpResponseException
-
HttpResponseException
public HttpResponseException(String aMessage, HttpStatusCode aStatusCode, Url aUrl, String aErrorCode) -
HttpResponseException
public HttpResponseException(String aMessage, HttpStatusCode aStatusCode, Url aUrl, Throwable aCause, String aErrorCode) -
HttpResponseException
public HttpResponseException(String aMessage, HttpStatusCode aStatusCode, Url aUrl, Throwable aCause) -
HttpResponseException
-