Class RedirectsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.client.redirect.RedirectsException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CyclicRedirectsException
,TooManyRedirectsException
,UnexpectedDomainRedirectException
,UnexpectedProtocolRedirectException
A
RuntimeException
raised in
automatic redirection.- See Also:
- Serialized Form
-
Constructor Summary
ModifierConstructorDescriptionCreates a new instance.RedirectsException(@Nullable String message)
Creates a new instance with the specifiedmessage
.RedirectsException(@Nullable String message, @Nullable Throwable cause)
Creates a new instance with the specifiedmessage
andcause
.protected
RedirectsException(@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.RedirectsException(@Nullable 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
-
RedirectsException
public RedirectsException()Creates a new instance. -
RedirectsException
Creates a new instance with the specifiedmessage
andcause
. -
RedirectsException
Creates a new instance with the specifiedmessage
. -
RedirectsException
Creates a new instance with the specifiedcause
. -
RedirectsException
protected RedirectsException(@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.
-