|
Joutsen.ArgumentsParsing
v0.2.1
|
A generic exception that is able to write its error message to a stream. More...
Public Member Functions | |
| 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... | |
A generic exception that is able to write its error message to a stream.
| 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.
| Joutsen.ArgumentsParsing.WritableException.WritableException | ( | string | message | ) |
Creates an instance with an error message.
| Joutsen.ArgumentsParsing.WritableException.WritableException | ( | ) |
Creates an empty exception.
| void Joutsen.ArgumentsParsing.WritableException.Write | ( | Stream | stream, |
| Encoding | encoding = null |
||
| ) |
Writes the errror message of this exception to a stream.
| stream | the stream to write to |
| encoding | the encoding to use when writing |
| void Joutsen.ArgumentsParsing.WritableException.Write | ( | TextWriter | writer | ) |
Writes the error message of this exception using a TextWriter.
| writer | the text writer to use |
| void Joutsen.ArgumentsParsing.WritableException.Write | ( | ) |
Writes the error message of this exception to stdout.
1.8.13