ExceptionBase: InnerException (set)

InnerException

Sets the exception that caused the Subclassed exception to be thrown.



 Public Property Set InnerException(
	  ByVal RHS As Exception )

Parameters

RHS
[ByVal] Exception. The exception that caused this Subclass exception to be thrown.

Remarks

when an exception is thrown and that exception causes another exception to be thrown, then the InnerException of the new Exception object should contain the exception that caused it to be thrown.

The Subclass exception should not allow the InnerException to be changed.

Read/Write.

See Also

Project VBCorLib Overview Class ExceptionBase Overview ExceptionBase Properties ExceptionBase Methods InnerException (get) Message (get)