class MiscError : public std::runtime_error
{
public:
- MiscError (std::string message)
+ explicit MiscError (std::string message)
: std::runtime_error (message)
{}
};
class DCPReadError : public std::runtime_error
{
public:
- DCPReadError (std::string message)
+ explicit DCPReadError (std::string message)
: std::runtime_error (message)
{}
};
class XMLError : public std::runtime_error
{
public:
- XMLError (std::string message)
+ explicit XMLError (std::string message)
: std::runtime_error (message)
{}
};
class UnresolvedRefError : public std::runtime_error
{
public:
- UnresolvedRefError (std::string id);
+ explicit UnresolvedRefError (std::string id);
};
/** @class TimeFormatError
class TimeFormatError : public std::runtime_error
{
public:
- TimeFormatError (std::string bad_time);
+ explicit TimeFormatError (std::string bad_time);
};
/** @class NotEncryptedError
class NotEncryptedError : public std::runtime_error
{
public:
- NotEncryptedError (std::string const & what);
+ explicit NotEncryptedError (std::string const & what);
~NotEncryptedError () throw () {}
};