.NET Portable TypeCast
3.1.0.4
A, easy-to-use tested, generic, portable, runtime-extensible, arbitrary type converter library
|
The Exception-type which is raised exclusively by the Converter<TIn,TOut> Library More...
Public Member Functions | |
ConverterException (ConverterCause cause, string message=null) | |
Initializes a new instance of the ConverterException class. Requires a ConverterCause and optional user message . More... | |
ConverterException (ConverterCause cause, Exception innerException) | |
Initializes a new instance of the ConverterException class. Requires a ConverterCause and innerException message More... | |
ConverterException (ConverterCause cause, Exception innerException, string message) | |
Initializes a new instance of the ConverterException class. Requires a ConverterCause an innerException and an exception message More... | |
virtual string | GetMessage () |
Override this method for custom formatting of the unformatted exception Exception.Message More... | |
override string | ToString () |
A string representation of the current exception. More... | |
Properties | |
ConverterCause | Cause [get, set] |
Gets or sets the exception's ConverterCause, which is set through the parameterized exception constructor ConverterException(ConverterCause, string) More... | |
override string | Message [get] |
Gets the exception message. More... | |
The Exception-type which is raised exclusively by the Converter<TIn,TOut> Library
Definition at line 19 of file ConverterException.cs.
Core.TypeCast.ConverterException.ConverterException | ( | ConverterCause | cause, |
string | message = null |
||
) |
Initializes a new instance of the ConverterException class. Requires a ConverterCause and optional user message .
cause | The coded reason for the Exception |
message | The message for the Exception. If left empty, the description of the cause will be used as exception message |
Definition at line 30 of file ConverterException.cs.
Core.TypeCast.ConverterException.ConverterException | ( | ConverterCause | cause, |
Exception | innerException | ||
) |
Initializes a new instance of the ConverterException class. Requires a ConverterCause and innerException message
cause | The coded reason for the Exception |
innerException | The wrapped exception within the ConverterException |
Definition at line 41 of file ConverterException.cs.
Core.TypeCast.ConverterException.ConverterException | ( | ConverterCause | cause, |
Exception | innerException, | ||
string | message | ||
) |
Initializes a new instance of the ConverterException class. Requires a ConverterCause an innerException and an exception message
cause | The coded reason for the Exception of the value ConverterCause |
innerException | The wrapped exception within the ConverterException |
message | The message for the Exception |
Definition at line 53 of file ConverterException.cs.
|
virtual |
Override this method for custom formatting of the unformatted exception Exception.Message
Definition at line 71 of file ConverterException.cs.
override string Core.TypeCast.ConverterException.ToString | ( | ) |
A string representation of the current exception.
Definition at line 93 of file ConverterException.cs.
|
getset |
Gets or sets the exception's ConverterCause, which is set through the parameterized exception constructor ConverterException(ConverterCause, string)
To get a detailed description of the value, use EnumExtension.GetDescription(Enum,string)
Definition at line 65 of file ConverterException.cs.
|
get |
Gets the exception message.
Definition at line 80 of file ConverterException.cs.