|
Joutsen.ArgumentsParsing
v0.2.1
|
An exception that occurs if a list of input strings cannot be parsed. More...
Public Member Functions | |
| ParseException (ArgumentParseException inner) | |
| creates a new instance. More... | |
| ParseException (ArgumentParseException inner, string usage) | |
| creates a new instance. More... | |
Public Member Functions inherited from Joutsen.ArgumentsParsing.WritableException | |
| WritableException (string message, Exception innerException) | |
| Creates an instance with an error message and an exception that is the cause for this exception to be raised. More... | |
| WritableException (string message) | |
| Creates an instance with an error message. More... | |
| WritableException () | |
| Creates an empty exception. More... | |
| void | Write (Stream stream, Encoding encoding=null) |
| Writes the errror message of this exception to a stream. More... | |
| void | Write (TextWriter writer) |
| Writes the error message of this exception using a TextWriter. More... | |
| void | Write () |
| Writes the error message of this exception to stdout. More... | |
Properties | |
| string | Usage [get] |
| the description of the expected input from the parser that raised this exception. More... | |
| override string | Message [get] |
| The messge describing what caused this exception and stopped the parsing. More... | |
An exception that occurs if a list of input strings cannot be parsed.
This can be due to missing required arguments, wrong values or unknown arguments.
| Joutsen.ArgumentsParsing.ParseException.ParseException | ( | ArgumentParseException | inner | ) |
creates a new instance.
| inner | the exception that was thrown by one of the literal parsers |
| Joutsen.ArgumentsParsing.ParseException.ParseException | ( | ArgumentParseException | inner, |
| string | usage | ||
| ) |
creates a new instance.
| inner | the exception that was thrown by one of the literal parsers |
| usage | the usage description of the parser that raised this exception |
|
get |
The messge describing what caused this exception and stopped the parsing.
|
get |
the description of the expected input from the parser that raised this exception.
1.8.13