view Exception/ValueExistsException.hpp @ 84:848496a57039

If a filepath cannot be interpreted, make this a non-critical error.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Thu, 10 Oct 2013 14:14:20 +0200
parents c9447697609f
children
line wrap: on
line source

#ifndef VALUEEXISTSEXCEPTION_HPP
#define VALUEEXISTSEXCEPTION_HPP

#include "Exception.hpp"

class ValueExistsException : public Exception
{
public:
  ValueExistsException(const string_t& errorMsg = string_t())
  : Exception(errorMsg)
  {}

  virtual void raise() const;
};

#endif //VALUEEXISTSEXCEPTION_HPP