- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- io.helidon.webserver.SocketClosedException
-
- All Implemented Interfaces:
Serializable
public class SocketClosedException extends IllegalStateException
Signals that socket was closed before server request it. There can be unsent response data.The exception should be distributed in
server response completion stage
whichcompletes exceptionally
in such case.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SocketClosedException(String s)
Creates new instance.SocketClosedException(String message, Throwable cause)
Creates new instance.SocketClosedException(Throwable cause)
Creates new instance.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SocketClosedException
public SocketClosedException(String s)
Creates new instance.- Parameters:
s
- a detail message
-
SocketClosedException
public SocketClosedException(String message, Throwable cause)
Creates new instance.- Parameters:
message
- a detail messagecause
- an original cause
-
SocketClosedException
public SocketClosedException(Throwable cause)
Creates new instance.- Parameters:
cause
- an original cause
-
-