public class BadFetchHttpResponsecodeError extends BadFetchProtocolResponsecodeError
BadFetchProtocolResponsecodeError dedicated to the
http protocol.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HTTP_PROTOCOL
The fixed HTTP protocol.
|
EVENT_TYPE| Constructor and Description |
|---|
BadFetchHttpResponsecodeError(int responseCode)
Constructs a new event with the event type as its detail message.
|
BadFetchHttpResponsecodeError(int responseCode,
java.lang.String message)
Constructs a new event with the specified detail message. the given
detail message is expanded to the form
<getEventType()>: <message>. |
BadFetchHttpResponsecodeError(int responseCode,
java.lang.String message,
java.lang.Throwable cause)
Constructs a new event with the specified detail message and cause.
|
BadFetchHttpResponsecodeError(int responseCode,
java.lang.Throwable cause)
Constructs a new event with the specified cause and a detail message of
(cause==null ? |
appendSpecificationDetails, getProtocol, getResponseCodegetEventTypegetMessage, isTypepublic static final java.lang.String HTTP_PROTOCOL
public BadFetchHttpResponsecodeError(int responseCode)
The responseCode is used to construct the event type.
responseCode - The protocol-specific response code.BadFetchError.getEventType()public BadFetchHttpResponsecodeError(int responseCode,
java.lang.String message)
<getEventType()>: <message>.
The cause is not initialized.
The responseCode is used to construct the event type.
responseCode - The protocol-specific response code.message - The detail message.BadFetchError.getEventType()public BadFetchHttpResponsecodeError(int responseCode,
java.lang.Throwable cause)
(cause==null ? getEventType() : cause.toString()) (which
typically contains the class and detail message of cause).
The responseCode is used to construct the event type.
responseCode - The protocol-specific response code.cause - The cause.BadFetchError.getEventType()public BadFetchHttpResponsecodeError(int responseCode,
java.lang.String message,
java.lang.Throwable cause)
The responseCode is used to construct the event type.
responseCode - The protocol-specific response code.message - The detail message.cause - The cause.BadFetchError.getEventType()