Updated exception
This commit is contained in:
1 parent
2a8cfcee2a
commit
b873bbf164
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -3,13 +3,14 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
#include <errno.h>
|
||||
|
||||
namespace coreutils {
|
||||
|
||||
class Exception {
|
||||
|
||||
public:
|
||||
Exception(std::string text, std::string file = __FILE__, int line = __LINE__, int errorNumber = -1);
|
||||
Exception(std::string text, std::string file = __FILE__, int line = __LINE__, int errorNumber = errno);
|
||||
|
||||
std::string className;
|
||||
std::string file;
|
||||
|
||||
Reference in new issue
Block a user