9 namespace Core.TypeCast
31 : this(cause, null, message ?? cause.GetDescription())
42 : this(cause, innerException, cause.GetDescription())
54 : base(message: message, innerException: innerException)
73 return this.Cause.GetType().Name +
" '" + this.Cause +
"': " + this.Cause.GetDescription() + base.Message;
80 public override string Message
96 return this.GetMessage() + Environment.NewLine + base.ToString();
The common Exceptioninterface.
ConverterCollectionException(ConverterCollectionCause cause, string message=null)
Initializes a new instance of the ConverterCollectionException class. Requires a ConverterCollectionC...
override string ToString()
A string representation of the current exception.
virtual string GetMessage()
Override this method for custom formatting of the unformatted exception Exception.Message
ConverterCollectionCause
Contains the reasons for a ConverterCollectionException to be raised.
The Exception-type which is raised exclusively by the Converter<T> Library
ConverterCollectionException(ConverterCollectionCause cause, Exception innerException)
Initializes a new instance of the ConverterCollectionException class. Requires a ConverterCollectionC...
ConverterCollectionException(ConverterCollectionCause cause, Exception innerException, string message)
Initializes a new instance of the ConverterCollectionException class. Requires a ConverterCollectionC...