Destructors are implicitly noexcept in C++11.
{
public:
buffer_too_small(const std::string &w): std::logic_error(w) { }
- virtual ~buffer_too_small() throw() { }
};
enum BufferUsage
{
public:
unsupported_extension(const std::string &w): std::runtime_error(w) { }
- virtual ~unsupported_extension() throw() { }
};
class MSPGL_API invalid_operation: public std::logic_error
{
public:
invalid_operation(const std::string &w): std::logic_error(w) { }
- virtual ~invalid_operation() throw() { }
};
class MSPGL_API stack_underflow: public std::logic_error
{
public:
stack_underflow(const std::string &w): std::logic_error(w) { }
- virtual ~stack_underflow() throw() { }
};
class MSPGL_API incompatible_data: public std::logic_error
{
public:
incompatible_data(const std::string &w): std::logic_error(w) { }
- virtual ~incompatible_data() throw() { }
};
class MSPGL_API compile_error: public std::runtime_error
{
public:
compile_error(const std::string &w): std::runtime_error(w) { }
- virtual ~compile_error() throw() { }
};
class MSPGL_API incomplete_uniform_block: public std::runtime_error
{
public:
incomplete_uniform_block(const std::string &w): std::runtime_error(w) { }
- virtual ~incomplete_uniform_block() throw() { }
};
} // namespace GL
{
public:
framebuffer_incomplete(const std::string &);
- virtual ~framebuffer_incomplete() throw() { }
};
/**
{
public:
invalid_module(const std::string &w): runtime_error(w) { }
- virtual ~invalid_module() throw() { }
};
class Resources;
invalid_shader_source(loc, format(fmt, args...))
{ }
#endif
- virtual ~invalid_shader_source() throw() { }
};
class syntax_error: public invalid_shader_source
{
public:
syntax_error(const Location &, const std::string &, const std::string &);
- virtual ~syntax_error() throw() { }
};
class parse_error: public invalid_shader_source
{
public:
parse_error(const Location &, const std::string &, const std::string &);
- virtual ~parse_error() throw() { }
};
class internal_error: public std::logic_error
{
public:
internal_error(const std::string &w): logic_error(w) { }
- virtual ~internal_error() throw() { }
};
struct Diagnostic
{
public:
too_many_uniforms(const std::string &w): std::runtime_error(w) { }
- virtual ~too_many_uniforms() throw() { }
};
class Buffer;
public:
resource_load_error(const std::string &, const std::string &);
resource_load_error(const std::string &, const std::exception &);
- virtual ~resource_load_error() throw() { }
};