/[projects]/smsdaemon/Exceptions.h
ViewVC logotype

Diff of /smsdaemon/Exceptions.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 178 by torben, Fri Dec 12 12:13:05 2008 UTC revision 193 by torben, Wed Dec 17 23:43:26 2008 UTC
# Line 4  Line 4 
4  #include <stdexcept>  #include <stdexcept>
5    
6    
7  class filenotfoundexception : std::runtime_error  class filenotfoundexception : public std::runtime_error
8  {  {
9  public:  public:
10          filenotfoundexception() : runtime_error("") {}          filenotfoundexception() : runtime_error("") {}
11  };  };
12    
13    
14  class smsnotfoundexception : std::runtime_error  class smsnotfoundexception : public std::runtime_error
15  {  {
16  public:  public:
17          smsnotfoundexception() : runtime_error("") {}          smsnotfoundexception() : runtime_error("") {}
18  };  };
19    
20    class httpexception : public std::runtime_error
21    {
22    public:
23            httpexception(const char* msg) : runtime_error(msg) {}
24    };
25    
26    
27  #endif //__EXCEPTIONS_H__  #endif //__EXCEPTIONS_H__

Legend:
Removed from v.178  
changed lines
  Added in v.193

  ViewVC Help
Powered by ViewVC 1.1.20