diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-08-23 20:57:00 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-08-23 20:57:00 +0200 |
commit | 415cd36477e152c12f91a10ad61bb719373cd9d1 (patch) | |
tree | 0c235f3b1f9b844313e81eb9e900fa2662ebefcc /src/Core/Exception.cpp | |
parent | 6666bbf908b3f2a61a9ec1959e975de54dc23b0d (diff) | |
download | mad-415cd36477e152c12f91a10ad61bb719373cd9d1.tar mad-415cd36477e152c12f91a10ad61bb719373cd9d1.zip |
Authentifikation hinzugefügt.
Diffstat (limited to 'src/Core/Exception.cpp')
-rw-r--r-- | src/Core/Exception.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Core/Exception.cpp b/src/Core/Exception.cpp index af39654..0029613 100644 --- a/src/Core/Exception.cpp +++ b/src/Core/Exception.cpp @@ -47,6 +47,8 @@ std::string Exception::strerror() const { return ret + "Not found"; case INVALID_INPUT: return ret + "Invalid input"; + case PERMISSION: + return ret + "Permission denied"; case INTERNAL_ERRNO: return ret + std::strerror(subCode); case INVALID_ADDRESS: @@ -57,6 +59,8 @@ std::string Exception::strerror() const { return ret + "The daemon is unknown"; case DUPLICATE_ENTRY: return ret + "Duplicate entry"; + case AUTHENTICATION: + return ret + "Authentication failure"; default: return ret + "Unknown error"; } |