Edit

Share via


'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, see Configuring Warnings in Visual Basic.

Error ID: BC42031

To correct this error

  • Remove the redundant statement.

See also