/usr/include/JAGS/distribution/DistError.h is in jags 4.2.0-2.
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 DIST_ERROR_H_
#define DIST_ERROR_H_
#include <string>
#include <stdexcept>
namespace jags {
class Distribution;
/**
* @short Exception class for Distributions
*
* This is a convenience class used when throwing a runtime error that
* concerns a Distribution object. The error message is synthesized
* with the name of the distribution.
*/
class DistError : public std::runtime_error {
public:
DistError(Distribution const *dist, std::string const &msg);
};
} /* namespace jags */
#endif /* DIST_ERROR_H_ */
|