'Catch' block never reached; <exception> handled above in the same 'Try' statement
A Catch block in the code cannot be reached because it is handled in a preceding Try block.
By default, this message is a warning. For more information about hiding warnings or treating warnings as errors, please see Configuring Warnings in Visual Basic
Error ID: BC42031
To correct this error
- Remove the redundant statement.
See Also
Tasks
How to: Catch an Exception in Visual Basic
How to: Test Code with a Try…Catch Block in Visual Basic
How to: Filter Errors in a Catch Block in Visual Basic
Walkthrough: Structured Exception Handling