All About Class ProtocolException in Java

ProtocolException is thrown from an application to indicate that there is an error in the underlying protocol like TCP Error.
The class ProtocolException is defined as :


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

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

No comments:

Powered by Blogger.