Recast  1
Game with custom magic
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
ServerFullException.hpp
Go to the documentation of this file.
1 
12 #ifndef RECAST_SERVER_SERVERFULLEXCEPTION_H
13 #define RECAST_SERVER_SERVERFULLEXCEPTION_H
14 
15 
16 #include <exception>
17 
18 class ServerFullException : public std::exception {
19 public:
20  const char *what() const throw() {
21  return "Server is full!";
22  }
23 };
24 
25 
26 #endif //RECAST_SERVER_SERVERFULLEXCEPTION_H
Definition: ServerFullException.hpp:18
const char * what() const
Definition: ServerFullException.hpp:20