mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-23 16:48:05 +02:00
base Json::Exception
This commit is contained in:
@@ -152,6 +152,18 @@ static inline void releaseStringValue(char* value) { free(value); }
|
||||
|
||||
namespace Json {
|
||||
|
||||
Exception::Exception(std::string const& msg)
|
||||
: msg_(msg)
|
||||
, future_use_(NULL)
|
||||
{
|
||||
}
|
||||
Exception::~Exception() throw()
|
||||
{}
|
||||
char const* Exception::what() const throw()
|
||||
{
|
||||
return msg_.c_str();
|
||||
}
|
||||
|
||||
// //////////////////////////////////////////////////////////////////
|
||||
// //////////////////////////////////////////////////////////////////
|
||||
// //////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user