Package dev.robocode.tankroyale.botapi
Class BotException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.robocode.tankroyale.botapi.BotException
-
Constructor Summary
ConstructorDescriptionBotException
(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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BotException
Initializes a new instance of the BotException class with a specified error message.- Parameters:
message
- is the message that describes the error.
-
BotException
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.
-