Packages This Package Prev Next Index
§4.16 Class ProtocolException
public class java.net.ProtocolException
extends java.io.IOException (I-§2.29)
{
// Constructors
public ProtocolException(); §4.16.1
public ProtocolException(String host); §4.16.2
}
Thrown to indicate than there is an error in the underlying protocol, such as a TCP error.
ProtocolException
public ProtocolException()
- Constructs a new ProtocolException with no detail message.
ProtocolException
public ProtocolException(String host)
- Constructs a new ProtocolException with the specified detail message.
- Parameters:
host
- the detail message
Packages This Package Prev Next Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc.
All rights reserved
Please send any comments or corrections to doug.kramer@sun.com