public abstract class HttpStatusException extends HttpException implements org.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>
org.refcodes.mixin.StatusCodeAccessor.StatusCodeBuilder<SC,B extends org.refcodes.mixin.StatusCodeAccessor.StatusCodeBuilder<SC,B>>, org.refcodes.mixin.StatusCodeAccessor.StatusCodeMutator<SC>, org.refcodes.mixin.StatusCodeAccessor.StatusCodeProperty<SC>
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
Constructor and Description |
---|
HttpStatusException(HttpStatusCode aStatusCode,
String message)
Instantiates a new http status exception.
|
HttpStatusException(HttpStatusCode aStatusCode,
String aMessage,
String aErrorCode)
Instantiates a new http status exception.
|
HttpStatusException(HttpStatusCode aStatusCode,
String message,
Throwable cause)
Instantiates a new http status exception.
|
HttpStatusException(HttpStatusCode aStatusCode,
String aMessage,
Throwable aCause,
String aErrorCode)
Instantiates a new http status exception.
|
HttpStatusException(HttpStatusCode aStatusCode,
Throwable cause)
Instantiates a new http status exception.
|
HttpStatusException(HttpStatusCode aStatusCode,
Throwable aCause,
String aErrorCode)
Instantiates a new http status exception.
|
Modifier and Type | Method and Description |
---|---|
HttpStatusCode |
getStatusCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public HttpStatusException(HttpStatusCode aStatusCode, String aMessage, String aErrorCode)
aStatusCode
- the a status codeaMessage
- the a messageaErrorCode
- the a error codepublic HttpStatusException(HttpStatusCode aStatusCode, String aMessage, Throwable aCause, String aErrorCode)
aStatusCode
- the a status codeaMessage
- the a messageaCause
- the a causeaErrorCode
- the a error codepublic HttpStatusException(HttpStatusCode aStatusCode, String message, Throwable cause)
aStatusCode
- the a status codemessage
- the messagecause
- the causepublic HttpStatusException(HttpStatusCode aStatusCode, String message)
aStatusCode
- the a status codemessage
- the messagepublic HttpStatusException(HttpStatusCode aStatusCode, Throwable aCause, String aErrorCode)
aStatusCode
- the a status codeaCause
- the a causeaErrorCode
- the a error codepublic HttpStatusException(HttpStatusCode aStatusCode, Throwable cause)
aStatusCode
- the a status codecause
- the causepublic HttpStatusCode getStatusCode()
getStatusCode
in interface org.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>
Copyright © 2017. All rights reserved.