Package dev.robocode.tankroyale.botapi
Class BotException
- Object
-
- Throwable
-
- Exception
-
- RuntimeException
-
- BotException
-
- All Implemented Interfaces:
Serializable
public class BotException extends RuntimeException
Represents errors that occur with bot execution.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BotException(String message)
Initializes a new instance of the BotException class with a specified error message.BotException(String message, Exception cause)
Initializes a new instance of the BotException class with a specified error message and a reference to the inner exception that is the cause of this exception.
-
-
-
Constructor Detail
-
BotException
public BotException(String message)
Initializes a new instance of the BotException class with a specified error message.- Parameters:
message
- is the message that describes the error.
-
BotException
public BotException(String message, Exception cause)
Initializes a new instance of the BotException class with a specified error message and a reference to the inner exception that is the cause of this exception.- Parameters:
message
- is the error message that explains the reason for the exception.cause
- is the exception that is the cause of the current exception.
-
-