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