1 #include "protocols/MMSException.h"
3 namespace remote
{ namespace protocols
{
5 MMSException::MMSException(const char* msg
,const char* file
,int line
)
8 char* buffer
= new char[1000];
9 sprintf(buffer
,"MMS #%ld: %s at %s:%u",number
,msg
,file
,line
);
14 MMSException::~MMSException() throw ()
19 const char * MMSException::what () const throw ()
21 return description
.c_str();
24 long MMSException::number
= 0;