| Package java.net |
Previous |
Java API |
Index |
Next |
public class java.net.ProtocolException
extends java.io.IOException
{
// Constructors
public ProtocolException();
public ProtocolException(String host);
}
Thrown to indicate than there is an error in the underlying protocol, such as a TCP error.
public ProtocolException()Constructs a new ProtocolException with no detail message.
public ProtocolException(String host)Constructs a new ProtocolException with the specified detail message.
Parameter Description host the detail message
| © 1996 Sun Microsystems, Inc. All rights reserved. |