RAD Studio
ContentsIndex
PreviousUpNext
catch

Category 

Statements, C++-Specific Keywords 

Syntax  

catch (exception-declaration) compound-statement

Description 

The exception handler is indicated by the catch keyword. The handler must be used immediately after the statements marked by the try keyword. The keyword catch can also occur immediately after another catch. Each handler will only evaluate an exception that matches, or can be converted to, the type specified in its argument list.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!