APIdia Launch Partner
Top Description Fields Constructors
java.net

public Class ProtocolException

extends IOException
Class Inheritance
Imports
java.io.IOException

Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
Author
Chris Warth
Since
1.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ProtocolException(String
the detail message.
message
)

Constructs a new ProtocolException with the specified detail message.

public
ProtocolException()

Constructs a new ProtocolException with no detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Annotations
@Serial

Constructor Detail

ProtocolExceptionback to summary
public ProtocolException(String message)

Constructs a new ProtocolException with the specified detail message.

Parameters
message:String

the detail message.

ProtocolExceptionback to summary
public ProtocolException()

Constructs a new ProtocolException with no detail message.