#include <string>
#include <vector>
-#include <Moof/Exception.hh>
-
namespace Mf {
{
public:
- virtual ~Resource();
+ virtual ~Resource() {}
/**
static std::string getPath(const std::string& name);
-
- struct Exception : public Mf::Exception
- {
- explicit Exception(unsigned error) :
- Mf::Exception(error) {}
-
- void raise()
- {
- throw *this;
- }
- };
-
private:
static std::vector<std::string> searchPaths_;