net.zortrium.p2proto
Class PeerTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
net.zortrium.p2proto.PeerException
net.zortrium.p2proto.PeerTimeoutException
- All Implemented Interfaces:
- Serializable
public class PeerTimeoutException
- extends PeerException
Exception indicating that a response message was not received in under the
specified time limit. This may be due several reasons; e.g., a host that
unexpectedly chooses not to send a response, or a host that is taking too
long to respond.
- Author:
- Sean Barker - www.zortrium.net
- See Also:
- Serialized Form
|
Method Summary |
long |
getTimeout()
Get the time (in ms) that the connection waited for a response before
timing out. |
String |
toString()
|
getTimeout
public long getTimeout()
- Get the time (in ms) that the connection waited for a response before
timing out.
- Returns:
- The ms time delay.
toString
public String toString()
- Overrides:
toString in class PeerException