Table of Contents

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
object
CommandParsingException
Implements
Derived
Inherited Members

Constructors

CommandParsingException(CommandLineApplication, string)

Initializes an instance of CommandParsingException.

public CommandParsingException(CommandLineApplication command, string message)

Parameters

command CommandLineApplication

The command.

message string

The message.

CommandParsingException(CommandLineApplication, string, Exception)

Initializes an instance of CommandParsingException.

public CommandParsingException(CommandLineApplication command, string message, Exception innerException)

Parameters

command CommandLineApplication

The command.

message string

The message.

innerException Exception

The inner exception

Properties

Command

The command that is throwing the exception.

public CommandLineApplication Command { get; }

Property Value

CommandLineApplication