fr.umlv.botbattle
Class DeadBotException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
DeadBotException(String message)
          Constructs a new exception with the specified detail message.
DeadBotException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and a cause.
 
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
 

Constructor Detail

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 exception
cause - cause of the exception