SokDoc

sok / Sok.Exceptions / CloseException

CloseException

open class CloseException : SokException (source)

Platform and version requirements: Common

Parent class of the exceptions thrown when gracefully closing a socket

Parameters

message - Message given by the exception when thrown

Constructors

<init> CloseException(message: String = "The socket was closed")
Parent class of the exceptions thrown when gracefully closing a socket

Inheritors

ForceCloseException
(Common)
class ForceCloseException : CloseException
Exception passed to the socket exception handler whent the socket is forcefully closed by a call to the forceClose method
NormalCloseException
(Common)
class NormalCloseException : CloseException
Exception passed to the socket exception handler when the socket is gracefully closed by a call to the close method
PeerClosedException
(Common)
class PeerClosedException : CloseException
Exception thrown when trying to perform an I/O on a closed socket