All About Class SocketException in Java

SocketException is thrown from the application to indicate that some exception happened while attempting to use a socket.
The class SocketException is given below:


public class java.io.SocketException extends java.lang.IOException{
//constructor
public SocketException();
//constructs an empty SocketException object that is an object with no message specified.
public SocketException(String message);
//constructs an SocketException object with the message specified.

}
 
All About Class SocketException in Java All About Class SocketException in Java Reviewed by Animesh Chatterjee on September 24, 2018 Rating: 5

No comments:

Powered by Blogger.