CoreUtils/Exception.h
2023-03-10 12:55:08 -08:00

26 lines
409 B
C++

#ifndef __Exception_h__
#define __Exception_h__
#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 = errno);
std::string className;
std::string file;
int line;
std::string text;
int errorNumber;
};
}
#endif