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
This exception indicates that some sort of low level protocol
exception occurred. Look in the descriptive message (if any) for
details on what went wrong.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ProtocolException
public ProtocolException()
- Create a new instance without a descriptive error message.
ProtocolException
public ProtocolException(String message)
- Create a new instance with a descriptive error message.
- Parameters:
message
- a message describing the error that occurred