Package dev.robocode.tankroyale.botapi
Class BotException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.robocode.tankroyale.botapi.BotException
-
- All Implemented Interfaces:
java.io.Serializable
public class BotException extends java.lang.RuntimeException
Represents errors that occur with bot execution.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BotException(java.lang.String message)
Initializes a new instance of the BotException class with a specified error message.BotException(java.lang.String message, java.lang.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(java.lang.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(java.lang.String message, java.lang.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.
-
-