Mono.Options
OptionException
Mono.Options.OptionException Class
Represents the error that occurs when there is an error parsing an
Mono.Options.Option
.
See Also:
OptionException Members
Syntax
public class
OptionException
:
Exception
Remarks
Instances of this class are thrown when:
There is an exception generated converting a string to an object of type
T
within the callback registered by
OptionSet.Add``1(string, string, Action<``0>)
(and related overloads).
Option.Parse``1(string, OptionContext)
could not convert a
string
to an object of type
T
.
An option with a
Option.OptionValueType
value of
OptionValueType.Required
does not have a value (usually because the start of the option was the last argument).
Requirements
Namespace:
Mono.Options
Assembly:
Mono.Options (in Mono.Options.dll)
Assembly Versions:
0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.3.0