Its working!!!
This commit is contained in:
1 parent
a3ba545c59
commit
1632a41b3e
5 files changed
+67
-59
No files matched your search
+4
-4
@@ -2,16 +2,16 @@
|
||||
#include "Log.h"
|
||||
|
||||
namespace coreutils {
|
||||
|
||||
|
||||
Exception::Exception(std::string text, std::string file, int line, int errorNumber) {
|
||||
this->text = text;
|
||||
this->file = file;
|
||||
this->line = line;
|
||||
if(errorNumber == -1)
|
||||
this->errorNumber = errno;
|
||||
this->errorNumber = errno;
|
||||
else
|
||||
this->errorNumber = errorNumber;
|
||||
|
||||
this->errorNumber = errorNumber;
|
||||
|
||||
Log(LOG_EXCEPT) << text;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user