From 61ac0032dec6cf6d93ca3f2c36af17f93d1682b9 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 25 Jun 2009 21:43:01 +0200 Subject: UserManager: Cache Benutzer- und Gruppen-Liste --- src/Core/Exception.cpp | 2 ++ src/Core/Exception.h | 1 + 2 files changed, 3 insertions(+) (limited to 'src/Core') 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 -- cgit v1.2.3