Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

rs_try_catch.h File Reference

Include file for the RoboSoc RS_BEGIN_TRY, RS_END_TRY and RS_CATCH exception catching macros. More...

Include dependency graph for rs_try_catch.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define RS_BEGIN_TRY   try {
 This macro is used to begin a try { ...

#define RS_END_TRY   }
 This macro is used to end a try { ...

#define RS_CATCH(Exception, Code)   catch ( Exception ) { Code }
 This macro is used to create a catch section after a try section.


Detailed Description

Include file for the RoboSoc RS_BEGIN_TRY, RS_END_TRY and RS_CATCH exception catching macros.

Unit:
Library
Revision
1.1
Author
frehe
Date
2001/09/03 19:38:42

Definition in file rs_try_catch.h.


Define Documentation

#define RS_BEGIN_TRY   try {
 

This macro is used to begin a try { ...

} catch () section.

Definition at line 64 of file rs_try_catch.h.

#define RS_END_TRY   }
 

This macro is used to end a try { ...

} catch () section.

Definition at line 65 of file rs_try_catch.h.

#define RS_CATCH Exception,
Code       catch ( Exception ) { Code }
 

This macro is used to create a catch section after a try section.

Exception should be the declaration of the variable of the exception type to catch, e.g. RSException& excpt. Code should be the code that should be executed when the exception is caught.

Definition at line 66 of file rs_try_catch.h.


Generated on Mon Aug 29 08:13:01 2011 for RoboSoc by doxygen1.3-rc3