Class CommandParsingException
The exception that is thrown when command line arguments could not be parsed.
Inheritance
System.Object
    System.Exception
    CommandParsingException
      
  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
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: McMaster.Extensions.CommandLineUtils
Assembly: McMaster.Extensions.CommandLineUtils.dll
Syntax
public class CommandParsingException : Exception, ISerializable
  Constructors
| Improve this Doc View SourceCommandParsingException(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.  | 
      
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 SourceCommand
The command that is throwing the exception.
Declaration
public CommandLineApplication Command { get; }
  Property Value
| Type | Description | 
|---|---|
| CommandLineApplication | 
Implements
      System.Runtime.Serialization.ISerializable