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