|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
bot.talk.TimeoutException
public class TimeoutException
This exception is a little more general than its name implies: any socket or i/o exception during transfer results in a timeout exception.
| Field Summary | |
|---|---|
java.lang.String |
description
A short description of the error |
int |
playerIndex
The index of the player that times out. |
private static long |
serialVersionUID
|
boolean |
serious
A serious timeout exception is caused by a message that fails to send. |
| Constructor Summary | |
|---|---|
TimeoutException(int playerIndex,
boolean serious)
|
|
TimeoutException(int playerIndex,
boolean serious,
java.lang.String description)
Creates a new instance of TimeoutException |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
public int playerIndex
public boolean serious
public java.lang.String description
| Constructor Detail |
|---|
public TimeoutException(int playerIndex,
boolean serious,
java.lang.String description)
public TimeoutException(int playerIndex,
boolean serious)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||