LRT14  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
NetArgumentOutOfRangeException.h
1 #ifndef RHESUS_NETARGUMENTOUTOFRANGEEXCEPTION_H_
2 #define RHESUS_NETARGUMENTOUTOFRANGEEXCEPTION_H_
3 
4 #include <exception>
5 
6 namespace Rhesus
7 {
8 namespace Messenger
9 {
10  class NetArgumentOutOfRangeException : public std::invalid_argument
11  {
12  public:
13  NetArgumentOutOfRangeException() : std::invalid_argument("(Rhesus::Framework::ArgumentOutOfRange) Argument is out of range.") { }
14  NetArgumentOutOfRangeException(const char* message) : std::invalid_argument("(Rhesus::Framework::ArgumentOutOfRange) Argument is out of range.") { }
15  };
16 }
17 }
18 
19 #endif