ExceptionBase: Message (get)

Message

Gets the error message associated with the Subclass exception.

 Public Property Get Message ( ) As String

Return Values

String -  A custom message set by the Subclass, or a default message of "An Error has occurred."

Remarks

Generally this property is set to a meaningful message that is related to the exception that is being thrown. The message should be human readable.

This property can be set in the constructor NewExceptionBase.

Read/Write.

See Also

Project VBCorLib Overview | Class ExceptionBase Overview