Java in a Nutshell

Previous Chapter 28
The java.net Package
Next
 

28.14 java.net.ProtocolException (JDK 1.0)

Signals a protocol error in the Socket class.

public class ProtocolException extends IOException {
    // Public Constructors
            public ProtocolException(String host);
            public ProtocolException();
}

Hierarchy:

Object->Throwable(Serializable)->Exception->IOException->ProtocolException

Thrown By:

HttpURLConnection.setRequestMethod()


Previous Home Next
java.net.NoRouteToHostException (JDK 1.1) Book Index java.net.ServerSocket (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java
This HTML Help has been published using the chm2web software.