Protocols: Fix includes to use the explicit path of the header files
[remote/remote-mci.git] / protocols / MMSException.cc
blobdb58faa576c26393595fcf455413e018e82b6b7f
1 #include "protocols/MMSException.h"
3 namespace remote { namespace protocols {
5 MMSException::MMSException(const char* msg,const char* file,int line)
7 number++;
8 char* buffer = new char[1000];
9 sprintf(buffer,"MMS #%ld: %s at %s:%u",number,msg,file,line);
10 description = buffer;
11 delete buffer;
14 MMSException::~MMSException() throw ()
19 const char * MMSException::what () const throw ()
21 return description.c_str();
24 long MMSException::number = 0;