blob: 818f3f00c5935061e1fd6c583145a5f45df2501a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include <exception>
class Exception : public std::exception {
public:
Exception(const char * fmt, ...);
virtual ~Exception();
virtual const char * what();
private:
char * error = NULL;
};
class ParserException : public Exception { using Exception::Exception; };
class CircuitException : public Exception { using Exception::Exception; };
|