Initializes a new instance of the CommandException class.

Namespace:  Bespoke.Robotics.BrainStem.Exceptions
Assembly:  Bespoke.Robotics.BrainStem (in Bespoke.Robotics.BrainStem.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public CommandException(
	Packet..::.CommandCodeType commandCode,
	string message
)
Visual Basic (Declaration)
Public Sub New ( _
	commandCode As Packet..::.CommandCodeType, _
	message As String _
)
Visual C++
public:
CommandException(
	Packet..::.CommandCodeType commandCode, 
	String^ message
)

Parameters

commandCode
Type: Bespoke.Robotics.BrainStem..::.Packet..::.CommandCodeType
The associated command.
message
Type: System..::.String
The message that describes the error.

See Also