Troubleshooting Exception Handling
This topic describes problems commonly encountered when working with exceptions and how to address them.
Visual Basic supports structured exception handling, which you can use to create and maintain programs with robust, comprehensive error handlers. Structured exception handling is code designed to detect and respond to errors during execution by combining a control structure (similar to Select Case or While) with exceptions, protected blocks of code, and filters.
In cases where an exception is thrown as a direct result of a previous exception, theproperty describes the original error. This information helps you to handle the error more efficiently. If there is no original error, the value of InnerException will be a null reference or Nothing in Visual Basic. This property is read-only. For more information, see .