Files
triton/include/isaac/exception/operation_not_supported.h

31 lines
702 B
C
Raw Normal View History

#ifndef ISAAC_EXCEPTION_OPERATION_NOT_SUPPORTED_H
#define ISAAC_EXCEPTION_OPERATION_NOT_SUPPORTED_H
#include <string>
#include <exception>
2015-08-05 11:13:49 -07:00
#include "isaac/defines.h"
namespace isaac
{
/** @brief Exception for the case the generator is unable to deal with the operation */
2015-08-05 11:13:49 -07:00
DISABLE_MSVC_WARNING_C4275
class operation_not_supported_exception : public std::exception
{
public:
operation_not_supported_exception();
operation_not_supported_exception(std::string message);
virtual const char* what() const throw();
virtual ~operation_not_supported_exception() throw();
private:
2015-08-05 11:13:49 -07:00
DISABLE_MSVC_WARNING_C4251
std::string message_;
2015-08-05 11:13:49 -07:00
RESTORE_MSVC_WARNING_C4251
};
2015-08-05 11:13:49 -07:00
RESTORE_MSVC_WARNING_C4275
}
#endif