diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-08-24 03:06:32 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-08-24 03:06:32 +0200 |
commit | 84a5ceeb7db03d75425d72e8a23a0bb0f267bc01 (patch) | |
tree | 7a7702429a7cdbc06144b2141eb80ee2aa462d39 /src/Client/UserCommands.cpp | |
parent | 415cd36477e152c12f91a10ad61bb719373cd9d1 (diff) | |
download | mad-84a5ceeb7db03d75425d72e8a23a0bb0f267bc01.tar mad-84a5ceeb7db03d75425d72e8a23a0bb0f267bc01.zip |
Hash-Klasse hinzugefügt
Diffstat (limited to 'src/Client/UserCommands.cpp')
-rw-r--r-- | src/Client/UserCommands.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/Client/UserCommands.cpp b/src/Client/UserCommands.cpp index 166a54d..a1d190a 100644 --- a/src/Client/UserCommands.cpp +++ b/src/Client/UserCommands.cpp @@ -89,7 +89,7 @@ void UserCommands::listUsersCommand(CommandParser *commandParser, const std::vec std::cout << std::endl; } catch(Core::Exception e) { - std::cerr << "An error occurred during your request: " << e.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << e.what() << "." << std::endl; } } @@ -132,7 +132,7 @@ void UserCommands::userInfoCommand(CommandParser *commandParser, const std::vect } } catch(Core::Exception e) { - std::cerr << "An error occurred during your request: " << e.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << e.what() << "." << std::endl; } } @@ -154,7 +154,7 @@ void UserCommands::listGroupsCommand(CommandParser *commandParser, const std::ve std::cout << std::endl; } catch(Core::Exception e) { - std::cerr << "An error occurred during your request: " << e.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << e.what() << "." << std::endl; } } @@ -197,7 +197,7 @@ void UserCommands::groupInfoCommand(CommandParser *commandParser, const std::vec } } catch(Core::Exception e) { - std::cerr << "An error occurred during your request: " << e.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << e.what() << "." << std::endl; } } @@ -238,7 +238,7 @@ void UserCommands::addUserCommand(CommandParser *commandParser, const std::vecto std::cout << "User added." << std::endl; } catch(Core::Exception e) { - std::cerr << "An error occurred during your request: " << e.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << e.what() << "." << std::endl; } } @@ -286,7 +286,7 @@ void UserCommands::updateUserCommand(CommandParser *commandParser, const std::ve std::cout << "User updated." << std::endl; } catch(Core::Exception e) { - std::cerr << "An error occurred during your request: " << e.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << e.what() << "." << std::endl; } } @@ -316,7 +316,7 @@ void UserCommands::deleteUserCommand(CommandParser *commandParser, const std::ve std::cout << "User deleted." << std::endl; } catch(Core::Exception e) { - std::cerr << "An error occurred during your request: " << e.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << e.what() << "." << std::endl; } } @@ -346,7 +346,7 @@ void UserCommands::addGroupCommand(CommandParser *commandParser, const std::vect std::cout << "Group added." << std::endl; } catch(Core::Exception e) { - std::cerr << "An error occurred during your request: " << e.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << e.what() << "." << std::endl; } } @@ -383,7 +383,7 @@ void UserCommands::updateGroupCommand(CommandParser *commandParser, const std::v std::cout << "Group updated." << std::endl; } catch(Core::Exception e) { - std::cerr << "An error occurred during your request: " << e.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << e.what() << "." << std::endl; } } @@ -413,7 +413,7 @@ void UserCommands::deleteGroupCommand(CommandParser *commandParser, const std::v std::cout << "Group deleted." << std::endl; } catch(Core::Exception e) { - std::cerr << "An error occurred during your request: " << e.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << e.what() << "." << std::endl; } } @@ -450,7 +450,7 @@ void UserCommands::addUserToGroupCommand(CommandParser *commandParser, const std std::cout << "Added." << std::endl; } catch(Core::Exception e) { - std::cerr << "An error occurred during your request: " << e.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << e.what() << "." << std::endl; } } @@ -487,7 +487,7 @@ void UserCommands::deleteUserFromGroupCommand(CommandParser *commandParser, cons std::cout << "Removed." << std::endl; } catch(Core::Exception e) { - std::cerr << "An error occurred during your request: " << e.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << e.what() << "." << std::endl; } } @@ -525,7 +525,7 @@ void UserCommands::setPasswordCommand(CommandParser *commandParser, const std::v std::cout << "Password set." << std::endl; } catch(Core::Exception e) { - std::cerr << "An error occurred during your request: " << e.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << e.what() << "." << std::endl; } } |