25 lines
410 B
C++
25 lines
410 B
C++
#ifndef __Exception_h__
|
|
#define __Exception_h__
|
|
|
|
#include "includes"
|
|
|
|
namespace coreutils {
|
|
|
|
class Exception {
|
|
|
|
public:
|
|
Exception(std::string text, std::string file = __FILE__, int line = __LINE__, int errorNumber = -1);
|
|
~Exception();
|
|
|
|
std::string className;
|
|
std::string file;
|
|
int line;
|
|
std::string text;
|
|
int errorNumber;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|