Package java.net Previous
Previous
Java API
Java API
Index
Index
Next
Next

Class ProtocolException

Constructors

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.


Constructors


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.

ParameterDescription
host the detail message



© 1996 Sun Microsystems, Inc. All rights reserved.