ExceptionMethods

ExceptionMethods


Defines public exception management functions Throw and Catch.


Remarks

Error processing can be a fundamental process in creating robust applications in Visual Basic. VBCorLib provides a wide range of exception classes that can be used to capture details for an error that may occur.

By using Throw and Catch to handle exception objects, a robust error handling mechanism can be created.

See Also

Project VBCorLib Overview | Exception

Public:

Methods:

NameDescription
 CatchCatch provides a mechanism for retrieving an exception object that was set using the Throw function. 
 ClearExceptionClears any exception that may not have been caught yet. 
 ThrowRaises an error using the supplied exception object. The exception is then set and ready to be caught using Catch.