©2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ux/uxerr.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  Ux

Defines

#define EC_CAUGHT(e)
#define EC_EXIT(e)
#define EC__EXIT(e)
#define EC_CATCH(s)   try { s; } catch (Error e) { EC_EXIT(e) }


Define Documentation

#define EC__EXIT  ) 
 

Value:

{\
        EC_CAUGHT(e)\
        EC_FLUSH("EC__EXIT")\
        ::_exit(EXIT_FAILURE);\
    }

Definition at line 34 of file uxerr.hpp.

Referenced by process_test().

#define EC_CATCH  )     try { s; } catch (Error e) { EC_EXIT(e) }
 

Definition at line 41 of file uxerr.hpp.

Referenced by main(), posixmsg_test(), posixsem_test(), posixshm_test(), socket_test_inet(), socket_test_unix(), sysvmsg_test(), sysvsem_test(), and sysvshm_test().

#define EC_CAUGHT  ) 
 

Value:

ec_push(__func__, __FILE__, __LINE__, "EC_CAUGHT",\
      e.get_code(), e.get_type());

Definition at line 24 of file uxerr.hpp.

Referenced by main().

#define EC_EXIT  ) 
 

Value:

{\
        EC_CAUGHT(e)\
        ::exit(EXIT_FAILURE);\
    }

Definition at line 28 of file uxerr.hpp.

Referenced by main(), and posixsem_test().


Generated on Fri Apr 23 10:57:12 2004 for AUP2 Example Source by doxygen 1.3.1