Package com.linecorp.armeria.client
Class InvalidResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.client.InvalidResponseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidHttpResponseException
,InvalidResponseHeadersException
A
RuntimeException
raised when a client received an invalid response.- See Also:
-
Constructor Summary
ModifierConstructorDescriptionCreates a new instance.InvalidResponseException
(@Nullable String message) Creates a new instance with the specifiedmessage
.InvalidResponseException
(@Nullable String message, @Nullable Throwable cause) Creates a new instance with the specifiedmessage
andcause
.protected
InvalidResponseException
(@Nullable String message, @Nullable Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a new instance with the specifiedmessage
,cause
, suppression enabled or disabled, and writable stack trace enabled or disabled.Creates a new instance with the specifiedcause
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidResponseException
public InvalidResponseException()Creates a new instance. -
InvalidResponseException
public InvalidResponseException(@Nullable @Nullable String message, @Nullable @Nullable Throwable cause) Creates a new instance with the specifiedmessage
andcause
. -
InvalidResponseException
Creates a new instance with the specifiedmessage
. -
InvalidResponseException
Creates a new instance with the specifiedcause
. -
InvalidResponseException
protected InvalidResponseException(@Nullable @Nullable String message, @Nullable @Nullable Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a new instance with the specifiedmessage
,cause
, suppression enabled or disabled, and writable stack trace enabled or disabled.
-