diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-06-25 21:43:01 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-06-25 21:43:01 +0200 |
commit | 61ac0032dec6cf6d93ca3f2c36af17f93d1682b9 (patch) | |
tree | 5989219c8651c4d0d4ff29c5fd870327dd34ad82 /src/Core | |
parent | 0fa11f6b15185fc2f4d820ddf9b6878c66c1ab38 (diff) | |
download | mad-61ac0032dec6cf6d93ca3f2c36af17f93d1682b9.tar mad-61ac0032dec6cf6d93ca3f2c36af17f93d1682b9.zip |
UserManager: Cache Benutzer- und Gruppen-Liste
Diffstat (limited to 'src/Core')
-rw-r--r-- | src/Core/Exception.cpp | 2 | ||||
-rw-r--r-- | src/Core/Exception.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/Core/Exception.cpp b/src/Core/Exception.cpp index fbae6aa..1a71ebd 100644 --- a/src/Core/Exception.cpp +++ b/src/Core/Exception.cpp @@ -43,6 +43,8 @@ std::string Exception::strerror() const { return ret + "Not finished"; case NOT_IMPLEMENTED: return ret + "Not implemented"; + case NOT_FOUND: + return ret + "Not found"; case INTERNAL_ERRNO: return ret + std::strerror(subCode); case INVALID_ADDRESS: diff --git a/src/Core/Exception.h b/src/Core/Exception.h index 6c89549..4d58190 100644 --- a/src/Core/Exception.h +++ b/src/Core/Exception.h @@ -29,6 +29,7 @@ class Exception { public: enum ErrorCode { SUCCESS = 0x0000, UNEXPECTED_PACKET = 0x0001, INVALID_ACTION = 0x0002, NOT_AVAILABLE = 0x0003, NOT_FINISHED = 0x0004, NOT_IMPLEMENTED = 0x0005, + NOT_FOUND = 0x0006, INTERNAL_ERRNO = 0x0010, INVALID_ADDRESS = 0x0020, ALREADY_IDENTIFIED = 0x0030, UNKNOWN_DAEMON = 0x0031 |