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

ixlib_exbase.hh File Reference

#include <stdexcept>
#include <ixlib_base.hh>

Go to the source code of this file.

Namespaces

namespace  ixion

Defines

#define EX_INFOMAX   255
#define EX_THROW(TYPE, CODE)   throw ::ixion::TYPE##_exception(CODE,NULL,__FILE__,__LINE__);
#define EX_THROWINFO(TYPE, CODE, INFO)   throw ::ixion::TYPE##_exception(CODE,(char const *) INFO,__FILE__,__LINE__);
#define EX_CATCHCODE(TYPE, CODE, HANDLER)
#define EX_CONVERT(TYPE, CODE, DESTTYPE, DESTCODE)


Define Documentation

#define EX_CATCHCODE TYPE,
CODE,
HANDLER   
 

Value:

catch (TYPE##_exception &ex) { \
    if (ex.Error != CODE) throw; \
    HANDLER \
  }

Definition at line 33 of file ixlib_exbase.hh.

#define EX_CONVERT TYPE,
CODE,
DESTTYPE,
DESTCODE   
 

Value:

catch (TYPE##_exception &ex) { \
    if (ex.Error != CODE) throw; \
    throw DESTTYPE##_exception(DESTCODE,ex.Info,__FILE__,__LINE__); \
  }

Definition at line 38 of file ixlib_exbase.hh.

#define EX_INFOMAX   255
 

Definition at line 23 of file ixlib_exbase.hh.

#define EX_THROW TYPE,
CODE       throw ::ixion::TYPE##_exception(CODE,NULL,__FILE__,__LINE__);
 

Definition at line 29 of file ixlib_exbase.hh.

#define EX_THROWINFO TYPE,
CODE,
INFO       throw ::ixion::TYPE##_exception(CODE,(char const *) INFO,__FILE__,__LINE__);
 

Definition at line 31 of file ixlib_exbase.hh.


Generated on Wed Oct 31 17:12:24 2001 for ixlib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001