Destructors are implicitly non-throwing in C++11 so these are no longer
necessary.
{
public:
unsupported_gl_mode(const GLOptions &);
- virtual ~unsupported_gl_mode() throw () { }
private:
static std::string format_version(const GLOptions &);
{
public:
unsupported_image_format(const std::string &w): std::runtime_error(w) { }
- virtual ~unsupported_image_format() throw() { }
};
class bad_image_data: public std::runtime_error
{
public:
bad_image_data(const std::string &w): std::runtime_error(w) { }
- virtual ~bad_image_data() throw() { }
};
{
public:
unsupported_video_mode(const VideoMode &);
- virtual ~unsupported_video_mode() throw () { }
};
{
public:
vulkan_error(unsigned, const char *);
- virtual ~vulkan_error() throw() { }
private:
static std::string get_error_message(unsigned);
{
public:
device_not_available(const std::string &w): std::runtime_error(w) { }
- virtual ~device_not_available() throw() { }
};