Package com.linecorp.armeria.common
Class TimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.common.CancellationException
com.linecorp.armeria.common.TimeoutException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConcurrencyLimitTimeoutException
,DnsTimeoutException
,RequestTimeoutException
,ResponseTimeoutException
,WriteTimeoutException
A
RuntimeException
raised when a requested invocation does not complete before its deadline.- See Also:
- Serialized Form
-
Constructor Summary
ModifierConstructorDescriptionCreates a new exception.TimeoutException(@Nullable String message)
Creates a new instance with the specifiedmessage
.TimeoutException(@Nullable String message, @Nullable Throwable cause)
Creates a new instance with the specifiedmessage
andcause
.protected
TimeoutException(@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.TimeoutException(@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
-
TimeoutException
public TimeoutException()Creates a new exception. -
TimeoutException
Creates a new instance with the specifiedmessage
. -
TimeoutException
Creates a new instance with the specifiedmessage
andcause
. -
TimeoutException
Creates a new instance with the specifiedcause
. -
TimeoutException
protected TimeoutException(@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.
-