dtinfo subtree dtinfo
[oweals/cde.git] / cde / programs / dtinfo / dtinfo / src / UAS / Base / UAS_Exceptions.hh
1 // $TOG: UAS_Exceptions.hh /main/4 1998/04/17 11:41:17 mgreess $
2 #ifndef _UAS_Exceptions_hh_
3 #define _UAS_Exceptions_hh_
4
5 #include "Exceptions.hh"
6 #include "UAS_String.hh"
7
8 #define CASTUASEXCEPT
9
10 class UAS_Exception: public Exception {
11     protected:
12         UAS_String fMessage;
13     public:
14         DECLARE_EXCEPTION(UAS_Exception, Exception);
15         UAS_Exception(const UAS_String&m): fMessage(m) {}
16         virtual ~UAS_Exception() {}
17         const UAS_String & message () const { return fMessage; }
18 };
19
20 #endif