ExceptionBase: Message (let)

Message

Sets the error message associated with the Subclass exception.

 Public Property Let Message(
	  ByVal NewMessage As String )

Parameters

NewMessage
[ByVal] String. The message to set the base to. Setting this to vbNullString will cause GetMessage to return the default message.

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