Package org.refcodes.net
Class HttpStatusRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.refcodes.exception.AbstractRuntimeException
-
- org.refcodes.net.NetRuntimeException
-
- org.refcodes.net.HttpRuntimeException
-
- org.refcodes.net.HttpStatusRuntimeException
-
- All Implemented Interfaces:
org.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>
- Direct Known Subclasses:
BadGatewayRuntimeException
,BadRequestRuntimeException
,ConflictRuntimeException
,ExpectationFailedRuntimeException
,FailedDependencyRuntimeException
,ForbiddenRuntimeException
,GatewayTimeoutRuntimeException
,GoneRuntimeException
,HttpResponseRuntimeException
,HttpVersionNotSupportedRuntimeException
,InsufficientSpaceOnResourceRuntimeException
,InsufficientStorageRuntimeException
,InternalClientErrorRuntimeException
,InternalServerErrorRuntimeException
,LengthRequiredRuntimeException
,LockedRuntimeException
,MethodFailureRuntimeException
,MethodNotAllowedRuntimeException
,MovedPermanentlyRuntimeException
,MovedTemporarilyRuntimeException
,MultipleChoicesRuntimeException
,MultiStatusRuntimeException
,NoContentRuntimeException
,NonAuthoritativeInformationRuntimeException
,NotAcceptableRuntimeException
,NotFoundRuntimeException
,NotImplementedRuntimeException
,NotModifiedRuntimeException
,PartialContentRuntimeException
,PaymentRequiredRuntimeException
,PreconditionFailedRuntimeException
,ProxyAuthenticationRequiredRuntimeException
,ReauthenticationRequiredRuntimeException
,RequestedRangeNotSatisfiableRuntimeException
,RequestTimeoutRuntimeException
,RequestTooLongRuntimeException
,RequestUriTooLongRuntimeException
,ResetContentRuntimeException
,SeeOtherRuntimeException
,ServiceUnavailableRuntimeException
,TemporaryRedirectRuntimeException
,UnauthorizedRuntimeException
,UnavailableForLegalReasonsRuntimeException
,UnprocessableEntityRuntimeException
,UnsupportedMediaTypeRuntimeException
,UseProxyRuntimeException
,VersionNotSupportedRuntimeException
public class HttpStatusRuntimeException extends HttpRuntimeException implements org.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>
The Class HttpStatusRuntimeException.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.StatusCodeAccessor
org.refcodes.mixin.StatusCodeAccessor.StatusCodeBuilder<SC extends java.lang.Object,B extends org.refcodes.mixin.StatusCodeAccessor.StatusCodeBuilder<SC,B>>, org.refcodes.mixin.StatusCodeAccessor.StatusCodeMutator<SC extends java.lang.Object>, org.refcodes.mixin.StatusCodeAccessor.StatusCodeProperty<SC extends java.lang.Object>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpStatusRuntimeException(int aStatusCode, java.lang.String message)
Instantiates a new http status runtime exception.HttpStatusRuntimeException(HttpStatusCode aStatusCode, java.lang.String message)
Instantiates a new http status runtime exception.HttpStatusRuntimeException(HttpStatusCode aStatusCode, java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new http status runtime exception.HttpStatusRuntimeException(HttpStatusCode aStatusCode, java.lang.String message, java.lang.Throwable cause)
Instantiates a new http status runtime exception.HttpStatusRuntimeException(HttpStatusCode aStatusCode, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new http status runtime exception.HttpStatusRuntimeException(HttpStatusCode aStatusCode, java.lang.Throwable cause)
Instantiates a new http status runtime exception.HttpStatusRuntimeException(HttpStatusCode aStatusCode, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new http status runtime exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpStatusCode
getStatusCode()
-
-
-
Constructor Detail
-
HttpStatusRuntimeException
protected HttpStatusRuntimeException(int aStatusCode, java.lang.String message)
Instantiates a new http status runtime exception.- Parameters:
aStatusCode
- the status codemessage
- the message
-
HttpStatusRuntimeException
public HttpStatusRuntimeException(HttpStatusCode aStatusCode, java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new http status runtime exception.- Parameters:
aStatusCode
- the status codeaMessage
- the messageaErrorCode
- the error code
-
HttpStatusRuntimeException
public HttpStatusRuntimeException(HttpStatusCode aStatusCode, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new http status runtime exception.- Parameters:
aStatusCode
- the status codeaMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
HttpStatusRuntimeException
public HttpStatusRuntimeException(HttpStatusCode aStatusCode, java.lang.String message, java.lang.Throwable cause)
Instantiates a new http status runtime exception.- Parameters:
aStatusCode
- the status codemessage
- the messagecause
- the cause
-
HttpStatusRuntimeException
public HttpStatusRuntimeException(HttpStatusCode aStatusCode, java.lang.String message)
Instantiates a new http status runtime exception.- Parameters:
aStatusCode
- the status codemessage
- the message
-
HttpStatusRuntimeException
public HttpStatusRuntimeException(HttpStatusCode aStatusCode, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new http status runtime exception.- Parameters:
aStatusCode
- the status codeaCause
- the causeaErrorCode
- the error code
-
HttpStatusRuntimeException
public HttpStatusRuntimeException(HttpStatusCode aStatusCode, java.lang.Throwable cause)
Instantiates a new http status runtime exception.- Parameters:
aStatusCode
- the status codecause
- the cause
-
-
Method Detail
-
getStatusCode
public HttpStatusCode getStatusCode()
- Specified by:
getStatusCode
in interfaceorg.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>
-
-