/usr/include/JAGS/function/FuncError.h is in jags 4.1.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #ifndef FUNC_ERROR_H_
#define FUNC_ERROR_H_
#include <string>
#include <stdexcept>
namespace jags {
class Function;
/**
* @short Exception class for Functions
*
* This is a convenience class used when throwing a runtime error that
* concerns a Function object. The error message is synthesized
* with the name of the function.
*/
class FuncError : public std::runtime_error {
public:
FuncError(Function const *func, std::string const &msg);
};
} /* namespace jags */
#endif /* FUNC_ERROR_H_ */
|