Class BotException
Represents errors that occur with bot execution.
Implements
Inherited Members
Namespace: Robocode.TankRoyale.BotApi
Assembly: Robocode.TankRoyale.BotApi.dll
Syntax
public class BotException : Exception, ISerializable
Constructors
| Edit this page View SourceBotException(string)
Initializes a new instance of the BotException class with a specified error message.
Declaration
public BotException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message that describes the error. |
BotException(string, Exception)
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.
Declaration
public BotException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message that explains the reason for the exception. |
Exception | innerException | The exception that is the cause of the current exception. |