◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── AND_CATCH( exception_class, exception_object_pointer_name ) Parameter Description <exception_class> The specific exception type to test for. For a list of standard exception classes, see ◄CException►. <exception_object_pointer_name> A name for an exception object pointer that will be created by the macro. You can use the pointer name to access the exception object within the AND_CATCH block. Remarks Defines a block of code for catching additional exception types thrown in a preceding TRY block. Use the CATCH macro to catch one exception type, then the AND_CATCH macro to catch each subsequent type. The exception-processing code can interrogate the exception object, if appropriate, to get more information about the specific cause of the exception. Invocation of the THROW_LAST macro within the AND_CATCH block shifts processing to the next outer exception frame. NOTE: The AND_CATCH block is defined as a C++ scope (delineated by curly braces). If you declare variables in this scope, remember that they are accessible only within that scope. AND_CATCH marks the end of the preceding CATCH or AND_CATCH block. See Also ◄TRY►, ◄CATCH►, ◄THROW►, ◄END_CATCH►, ◄THROW_LAST► -♦-