Search Results for

    Show / Hide Table of Contents

    Class CommandParsingException

    The exception that is thrown when command line arguments could not be parsed.

    Inheritance
    System.Object
    System.Exception
    CommandParsingException
    UnrecognizedCommandParsingException
    Implements
    System.Runtime.Serialization.ISerializable
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Exception.GetType()
    System.Exception.ToString()
    System.Exception.Data
    System.Exception.HelpLink
    System.Exception.HResult
    System.Exception.InnerException
    System.Exception.Message
    System.Exception.Source
    System.Exception.StackTrace
    System.Exception.TargetSite
    System.Exception.SerializeObjectState
    Namespace: McMaster.Extensions.CommandLineUtils
    Assembly: McMaster.Extensions.CommandLineUtils.dll
    Syntax
    public class CommandParsingException : Exception, ISerializable

    Constructors

    | Improve this Doc View Source

    CommandParsingException(CommandLineApplication, String)

    Initializes an instance of CommandParsingException.

    Declaration
    public CommandParsingException(CommandLineApplication command, string message)
    Parameters
    Type Name Description
    CommandLineApplication command

    The command.

    System.String message

    The message.

    | Improve this Doc View Source

    CommandParsingException(CommandLineApplication, String, Exception)

    Initializes an instance of CommandParsingException.

    Declaration
    public CommandParsingException(CommandLineApplication command, string message, Exception innerException)
    Parameters
    Type Name Description
    CommandLineApplication command

    The command.

    System.String message

    The message.

    System.Exception innerException

    The inner exception

    Properties

    | Improve this Doc View Source

    Command

    The command that is throwing the exception.

    Declaration
    public CommandLineApplication Command { get; }
    Property Value
    Type Description
    CommandLineApplication

    Implements

    System.Runtime.Serialization.ISerializable
    • Improve this Doc
    • View Source
    In This Article
    Back to top