java.net.ProtocolException (JDK 1.0)
Signals a protocol error in the Socket class.
public classProtocolExceptionextends IOException { //Public ConstructorspublicProtocolException(Stringhost); publicProtocolException(); }
Hierarchy:
Object->Throwable(Serializable)->Exception->IOException->ProtocolException
Thrown By:
HttpURLConnection.setRequestMethod()