/usr/include/fcl/exception.h is in libfcl-dev 0.3.0-1+b1.
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 26 27 28 29 30 31 32 33 34 35 | #ifndef FCL_EXCEPTION_H
#define FCL_EXCEPTION_H
#include <stdexcept>
#include <string>
namespace fcl
{
class Exception : public std::runtime_error
{
public:
/** \brief This is just a wrapper on std::runtime_error */
explicit
Exception(const std::string& what) : std::runtime_error(what)
{
}
/** \brief This is just a wrapper on std::runtime_error with a
prefix added */
Exception(const std::string &prefix, const std::string& what) : std::runtime_error(prefix + ": " + what)
{
}
virtual ~Exception(void) throw()
{
}
};
}
#endif
|