blob: 21c6a6b42b9b6d20f9e113cb8b7af813875b8b42 [file] [log] [blame]
#ifndef _NIMA_MISSINGFILEEXCEPTION_HPP_
#define _NIMA_MISSINGFILEEXCEPTION_HPP_
#include <exception>
#include <string>
namespace nima
{
class MissingFileException : public std::exception
{
std::string m_Message;
std::string m_Filename;
public:
MissingFileException(const std::string& msg, const std::string& filename) : m_Message(msg), m_Filename(filename)
{
}
const std::string& message() const
{
return m_Message;
}
const std::string& filename() const
{
return m_Filename;
}
};
}
#endif