stdcpp/tsrc/Stdcpp_test/stdcxx/include/rw/_exception.h
changeset 22 ddc455616bd6
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
equal deleted inserted replaced
18:47c74d1534e1 22:ddc455616bd6
    81 #else
    81 #else
    82 class __rw_exception: public _STD::exception
    82 class __rw_exception: public _STD::exception
    83 {
    83 {
    84 public:
    84 public:
    85 
    85 
    86     _RWSTD_EXPORT __rw_exception () _THROWS (());
    86     IMPORT_C __rw_exception () _THROWS (());
    87 
    87 
    88     _RWSTD_EXPORT __rw_exception (const __rw_exception&);
    88     IMPORT_C __rw_exception (const __rw_exception&);
    89 
    89 
    90    _RWSTD_EXPORT _EXPLICIT __rw_exception (const _STD::string&);
    90    IMPORT_C _EXPLICIT __rw_exception (const _STD::string&);
    91     
    91     
    92     _RWSTD_EXPORT _EXPLICIT __rw_exception (const char*);
    92     IMPORT_C _EXPLICIT __rw_exception (const char*);
    93 
    93 
    94     _RWSTD_EXPORT virtual ~__rw_exception () _THROWS (());
    94     IMPORT_C virtual ~__rw_exception () _THROWS (());
    95 
    95 
    96     // empty exception specification necessary in order to preserve
    96     // empty exception specification necessary in order to preserve
    97     // the no-exception guarantee provided by std::exception to
    97     // the no-exception guarantee provided by std::exception to
    98     // derived classes (e.g., logic_error)
    98     // derived classes (e.g., logic_error)
    99 _RWSTD_EXPORT    __rw_exception& operator= (const __rw_exception&) _THROWS (());
    99 IMPORT_C    __rw_exception& operator= (const __rw_exception&) _THROWS (());
   100 
   100 
   101  _RWSTD_EXPORT   virtual const char* what () const _THROWS (());
   101  IMPORT_C   virtual const char* what () const _THROWS (());
   102 
   102 
   103  _RWSTD_EXPORT   __rw_exception&  _C_assign (const char*, _RWSTD_SIZE_T /*= _RWSTD_SIZE_MAX*/);
   103  IMPORT_C   __rw_exception&  _C_assign (const char*, _RWSTD_SIZE_T /*= _RWSTD_SIZE_MAX*/);
   104 
   104 
   105 private:
   105 private:
   106     char *_C_what;   // description string
   106     char *_C_what;   // description string
   107 };
   107 };
   108 #endif //__SYMBIAN32__
   108 #endif //__SYMBIAN32__