Classes | Defines
Exception.h File Reference

Classes

class  Tonido::Exception
 Base class for all exceptions defined in the Bootstrap library. More...

Defines

#define BOOTSTRAP_DECLARE_EXCEPTION(API, CLS, BASE)
#define BOOTSTRAP_IMPLEMENT_EXCEPTION(CLS, BASE, NAME)

Detailed Description


Define Documentation

#define BOOTSTRAP_DECLARE_EXCEPTION (   API,
  CLS,
  BASE 
)
Value:
class API CLS: public BASE                                                                      \
        {                                                                                                                                       \
        public:                                                                                                                         \
                CLS();                                                                                                                  \
        CLS(const std::string& msg);                                    \
        CLS(const std::string& msg, const Data::RawData::SharedPtr& a_pRawData);                                                                        \
        CLS(const std::string& msg, const std::string& arg,  const Data::RawData::SharedPtr& a_pRawData);                       \
                CLS(const std::string& msg, const Exception& exc);              \
                CLS(const CLS& exc);                                                                                    \
                virtual ~CLS() throw();                                                                                 \
                CLS& operator = (const CLS& exc);                                                               \
                const char* name() const throw();                                                               \
                const char* className() const throw();                                                  \
                Exception* clone() const;                                                               \
                void rethrow() const;                                                                                   \
        };

Generated on Wed Oct 12 2011 21:46:51. © CodeLathe LLC 2007-2011. All Rights Reserved.