ExceptionMethods: ClearException

ClearException

Clears any exception that may not have been caught yet.



 Public Sub ClearException ( )

Remarks

Sometimes an exception can be thrown, but ignored and not caught. This could cause problems later in code if the Catch method is called and an exception has not been thrown. The previous exception may still remain ready to be caught even though the error trapping has passed for that previous exception.

See Also

Project CorLib Overview

Class ExceptionMethods Overview

Exception