Class ToolNotFoundException
Exception thrown when a tool with the specified ID is not found.
public class ToolNotFoundException : Exception, ISerializable
- Inheritance
-
ToolNotFoundException
- Implements
- Inherited Members
- Extension Methods
Constructors
ToolNotFoundException(int)
Initializes a new instance of the ToolNotFoundException class with the specified tool ID.
public ToolNotFoundException(int toolId)
Parameters
toolId
intThe ID of the tool that was not found.
ToolNotFoundException(int, string)
Initializes a new instance of the ToolNotFoundException class with the specified tool ID and error message.
public ToolNotFoundException(int toolId, string msg)
Parameters
toolId
intThe ID of the tool that was not found.
msg
stringThe error message that explains the reason for the exception.
Properties
ToolId
Gets or sets the ID of the tool that was not found.
public int ToolId { get; set; }