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:
InvalidResponseHeadersException
public class InvalidResponseException extends RuntimeException
A
RuntimeException
raised when a client received an invalid response.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Modifier Constructor Description InvalidResponseException()
Creates a new instance.InvalidResponseException(String message)
Creates a new instance with the specifiedmessage
.InvalidResponseException(String message, Throwable cause)
Creates a new instance with the specifiedmessage
andcause
.protected
InvalidResponseException(String message, 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.InvalidResponseException(Throwable cause)
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
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 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.
-