Package com.linecorp.armeria.common
Class ClosedSessionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.linecorp.armeria.common.ClosedSessionException
-
- All Implemented Interfaces:
Serializable
public final class ClosedSessionException extends RuntimeException
ARuntimeException
raised when the connection to the remote peer has been closed unexpectedly.- See Also:
- Serialized Form
-
-
Method Summary
Modifier and Type Method Description static ClosedSessionException
get()
Returns aClosedSessionException
which may be a singleton or a new instance, depending onFlags.verboseExceptionSampler()
's decision.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
get
public static ClosedSessionException get()
Returns aClosedSessionException
which may be a singleton or a new instance, depending onFlags.verboseExceptionSampler()
's decision.
-
-