blob: fbd18125ff77c453c402addd7d0ff26c04b3aea7 [file] [log] [blame]
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2013, Regents of the University of California
* Yingdi Yu
*
* BSD license, See the LICENSE file for more information
*
* Author: Yingdi Yu <yingdi@cs.ucla.edu>
*/
#ifndef LINKEDN_EXCEPTION_H
#define LINKEDN_EXCEPTION_H
#include <exception>
#include <string>
class LnException : public std::exception
{
public:
LnException(const std::string & errMsg) throw();
~LnException() throw()
{}
inline const std::string&
msg() const
{return m_errMsg;}
private:
const std::string m_errMsg;
};
#endif