Show / Hide Table of Contents

Class BotException

Represents errors that occur with bot execution.

Inheritance
object
Exception
BotException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.ReferenceEquals(object, object)
Namespace: Robocode.TankRoyale.BotApi
Assembly: api.dll
Syntax
[PublicAPI]
public sealed class BotException : Exception, ISerializable

Constructors

| Edit this page View Source

BotException(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.

| Edit this page View Source

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.

Implements

ISerializable
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX