MCS: Use remote.h and cleanup header file inclusion
[remote/remote-mci.git] / protocols / MMSException.h
blob04a178f696e6903c18af9b2b8d5bede5f8f91955
1 #ifndef MMSEXCEPTION_H_
2 #define MMSEXCEPTION_H_
4 #include <exception>
5 #include <stdio.h>
6 #include <string>
8 namespace remote { namespace protocols {
10 using namespace std;
12 #define __THROW__(s) throw remote::protocols::MMSException(s,__FILE__,__LINE__);
14 class MMSException : public exception
16 public:
17 MMSException(const char* msg,const char* file,int line);
18 ~MMSException() throw ();
19 const char * what () const throw ();
20 private:
21 static long number;
22 string description;
27 #endif /*MMSEXCEPTION_H_*/