GeezerVison is showing docs.oracle.com — SocketException (Java SE 21 & JDK 21)
-
Constructor Summary
Constructors
Constructor
Description
Constructs a new SocketException with no detail message.
Constructs a new SocketException with the
specified detail message.
Constructs a new SocketException with the
specified detail message and cause.
Constructs a new SocketException with the
specified cause.
-
Method Summary
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SocketException
public SocketException(String msg)
Constructs a new SocketException with the
specified detail message.
- Parameters:
msg - the detail message.
-
SocketException
public SocketException()
Constructs a new SocketException with no detail message.
-
SocketException
Constructs a new SocketException with the
specified detail message and cause.
- Parameters:
msg - the detail message.
cause - the cause
- Since:
- 19
-
SocketException
Constructs a new SocketException with the
specified cause.
- Parameters:
cause - the cause
- Since:
- 19