avr: Construct the pin table more carefully
[avr-sim.git] / src / ImplementationException.h
blobccc2ac2edfd83f98048cde8b40e18254357eb961
1 #ifndef UTIL_IMPLEMENTATIONEXCEPTION_H
2 #define UTIL_IMPLEMENTATIONEXCEPTION_H
4 #include "Exception.h"
6 namespace util {
7 /**
8 * @author Tom Haber
9 * @date Apr 26, 2008
10 * @brief Thrown on implementation issues: missing or broken features
12 * ImplementationException is thrown when some feature is used
13 * where the implementation is missing or broken.
15 * The stepping function of the Core catches this exception,
16 * prints a warning and ignores it. This way the simulation
17 * doesn't halt because of implementation issues. Obviously
18 * the result of the simulation might be wrong.
20 class ImplementationException : public Exception {
21 public:
22 ImplementationException() : Exception("Implementation Exception") {}
23 ImplementationException(const char *s) : Exception(s) {}
24 ImplementationException(const std::string & s) : Exception(s) {}
27 #endif