CoreUtils/Exception.h
2022-01-24 14:03:58 -08:00

25 lines
387 B
C++

#ifndef __Exception_h__
#define __Exception_h__
#include <string.h>
#include <string>
namespace coreutils {
class Exception {
public:
Exception(std::string text, std::string file = __FILE__, int line = __LINE__, int errorNumber = -1);
std::string className;
std::string file;
int line;
std::string text;
int errorNumber;
};
}
#endif