28 #include "ensemble_alloc.hpp"
154 int nsys, nbod, nsysattr, nbodattr;
178 readfileexception(
const string& filename,
const string& message,
const int& lineno = 0): filename(filename),message(message),lineno(lineno) {}
180 virtual const char* what()
const throw() {
181 return (
"Error reading " + filename +
" : " + message).c_str();
191 writefileexception(
const string& filename,
const string& message,
const int& lineno = 0): filename(filename),message(message),lineno(lineno) {}
193 virtual const char* what()
const throw() {
194 return (
"Error writing " + filename +
" : " + message).c_str();