public class java.net
ProtocolException


Hide details Login
Java SE 6
  
Extends: Throwable > Exception > IOException

Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
version1.17, 11/17/05
sinceJDK1.0

Constructors
public ProtocolException(String host)
Constructs a new ProtocolException with the specified detail message.
hostthe detail message.
public ProtocolException()
Constructs a new ProtocolException with no detail message.