fr.umlv.botbattle
Class DeadBotException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fr.umlv.botbattle.DeadBotException
- All Implemented Interfaces:
- Serializable
public class DeadBotException
- extends Exception
Exceptions raised when a dead bot try to
interact with the game by calling some methods.
- Version:
- 1.0
- Author:
- remi
- See Also:
Bot,
GameInfo.isAlive(),
BotContext.nextTurn(BotContext.Action),
ArenaInfo.radar(),
GameInfo.getAllAliveBots(),
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DeadBotException
public DeadBotException(String message)
- Constructs a new exception with the specified detail message.
- Parameters:
message - detail message of the exception
DeadBotException
public DeadBotException(String message,
Throwable cause)
- Constructs a new exception with the specified detail message
and a cause.
- Parameters:
message - detail message of the exceptioncause - cause of the exception