ExceptionBase: InnerException (set)

InnerException

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



 Public Property Set InnerException(
	  ByVal Value As Exception )

Parameters

Value
[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 CorLib Overview

Class ExceptionBase Overview