summaryrefslogtreecommitdiffstats
path: root/crypt/cryptexception.cpp
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-09-15 14:32:43 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-09-15 14:35:36 +0200
commit9dd195ddd3bce8183a43f9653e7caec5dd0a23ee (patch)
tree2667d483f1c8984fddf444df04dd9465e9232533 /crypt/cryptexception.cpp
parent0764b73f6a61160ad6765f17073110d8236b68d1 (diff)
downloadsrc-9dd195ddd3bce8183a43f9653e7caec5dd0a23ee.tar.gz
src-9dd195ddd3bce8183a43f9653e7caec5dd0a23ee.zip
Nutze ein Enum zur leichteren ReturnCodeverwaltung
Diffstat (limited to 'crypt/cryptexception.cpp')
-rw-r--r--crypt/cryptexception.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypt/cryptexception.cpp b/crypt/cryptexception.cpp
index 4cf2e6c..d839029 100644
--- a/crypt/cryptexception.cpp
+++ b/crypt/cryptexception.cpp
@@ -1,6 +1,6 @@
#include "cryptexception.h"
-CryptException::CryptException(std::string what, int returnCode)
+CryptException::CryptException(std::string what, ReturnCode returnCode)
:exception()
{
this->whatMsg = what;
@@ -17,7 +17,7 @@ const char *CryptException::what() const throw()
return whatMsg.c_str();
}
-int CryptException::returnCode() const
+CryptException::ReturnCode CryptException::returnCode() const
{
return retId;
}