Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (15 sloc) 0.468 kb
#pragma once
#include <exception>
#include <string>
class yadfs_exception: public std::exception {
public:
yadfs_exception(const::std::string& msg): mMessage(msg) { }
yadfs_exception(const yadfs_exception& o): mMessage(o.mMessage) { }
yadfs_exception& operator=(const yadfs_exception& o) { mMessage = o.mMessage; return *this; }
~yadfs_exception() throw() { }
const char* what() const throw() {
return mMessage.c_str();
}
protected:
std::string mMessage;
};
Jump to Line
Something went wrong with that request. Please try again.