java.net
Class ProtocolException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--java.net.ProtocolException
All Implemented Interfaces:
Serializable

public class ProtocolException
extends IOException

Untamed: Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.

Since:
JDK1.0
Version:
1.14, 12/03/01
Author:
Chris Warth
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ProtocolException()
          Enabled: Constructs a new ProtocolException with no detail message.
ProtocolException(String host)
          Enabled: Constructs a new ProtocolException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
backtrace, eStack, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, javaStack, leaf, printStackTrace, printStackTrace, printStackTrace, printThrowableOn, setStackTrace, toString, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProtocolException

public ProtocolException(String host)
Enabled: Constructs a new ProtocolException with the specified detail message.

Parameters:
host - the detail message.

ProtocolException

public ProtocolException()
Enabled: Constructs a new ProtocolException with no detail message.



comments?