/usr/include/JAGS/graph/ParentError.h is in jags 4.3.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 PARENT_ERROR_H_
#define PARENT_ERROR_H_
#include <stdexcept>
#include <iostream>
namespace jags {
class Node;
class SymTab;
/**
* @short Exception class for invalid parent values
*/
class ParentError : public std::runtime_error {
Node const * _node;
unsigned int _chain;
public:
ParentError(Node const *node, unsigned int chain);
void printMessage(std::ostream &out, SymTab const &symtab) const;
};
} /* namespace jags */
#endif /* PARENT_ERROR_H_ */
|