#ifndef EXCEPTION_H #define EXCEPTION_H #include using namespace std; namespace LAMMPS_NS { class LAMMPSexception: public exception { public: LAMMPSexception(const char *); const char* what() const throw(); private: const char *message; }; } #endif