2015-04-29 15:50:57 -04:00
|
|
|
#include "isaac/exception/operation_not_supported.h"
|
2015-01-12 13:20:53 -05:00
|
|
|
|
2015-04-29 15:50:57 -04:00
|
|
|
namespace isaac
|
2015-01-12 13:20:53 -05:00
|
|
|
{
|
|
|
|
|
|
|
|
operation_not_supported_exception::operation_not_supported_exception() : message_()
|
|
|
|
{}
|
|
|
|
|
|
|
|
operation_not_supported_exception::operation_not_supported_exception(std::string message) :
|
2015-04-29 15:50:57 -04:00
|
|
|
message_("ISAAC: Internal error: The internal generator cannot handle the operation provided: " + message) {}
|
2015-01-12 13:20:53 -05:00
|
|
|
|
|
|
|
const char* operation_not_supported_exception::what() const throw()
|
|
|
|
{ return message_.c_str(); }
|
|
|
|
|
|
|
|
operation_not_supported_exception::~operation_not_supported_exception() throw()
|
|
|
|
{}
|
|
|
|
|
|
|
|
}
|