Class CommandParsingException
- Namespace
- McMaster.Extensions.CommandLineUtils
- Assembly
- McMaster.Extensions.CommandLineUtils.dll
The exception that is thrown when command line arguments could not be parsed.
public class CommandParsingException : Exception, ISerializable
- Inheritance
-
objectCommandParsingException
- Implements
- Derived
- Inherited Members
Constructors
CommandParsingException(CommandLineApplication, string)
Initializes an instance of CommandParsingException.
public CommandParsingException(CommandLineApplication command, string message)
Parameters
commandCommandLineApplicationThe command.
messagestringThe message.
CommandParsingException(CommandLineApplication, string, Exception)
Initializes an instance of CommandParsingException.
public CommandParsingException(CommandLineApplication command, string message, Exception innerException)
Parameters
commandCommandLineApplicationThe command.
messagestringThe message.
innerExceptionExceptionThe inner exception
Properties
Command
The command that is throwing the exception.
public CommandLineApplication Command { get; }