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

Exception.h File Reference

Exception base classes and macros for creating new exceptions. More...

#include <string>
#include <SimData/Export.h>
#include <SimData/Namespace.h>

Go to the source code of this file.

Compounds

class  Exception
 Base class for all SimData specific exceptions. More...

class  ExceptionBase
 General exception base class with error reporting. More...


Defines

#define SIMDATA_SUBEXCEPTION(a, b)
#define SIMDATA_EXCEPTION(a)   SIMDATA_SUBEXCEPTION(a, Exception)

Functions

 SIMDATA_EXCEPTION (PythonException)
 Exception for marshalling python exceptions through SWIG wrapers.


Detailed Description

Exception base classes and macros for creating new exceptions.


Define Documentation

#define SIMDATA_EXCEPTION      SIMDATA_SUBEXCEPTION(a, Exception)
 

#define SIMDATA_SUBEXCEPTION a,
 
 

Value:

class a: public b { \
public: \
        a(std::string const &msg=""): \
                b(#a, msg) { } \
        a(std::string const &type, std::string const &msg): \
                b(type, msg) { } \
};


Function Documentation

SIMDATA_EXCEPTION PythonException   
 

Exception for marshalling python exceptions through SWIG wrapers.

Author:
Mark Rose <mrose@stm.lbl.gov>


SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage.

Generated on Tue Oct 14 12:06:39 2003, using Doxygen 1.2.18.

[SF.net]