#include "version.h"
#include <exception>
#include <sstream>
#include <string>
Go to the source code of this file.
#define OPENVDB_EXCEPTION |
( |
|
_classname | ) |
|
Value:
{ \
public: \
_classname() noexcept:
Exception(
#_classname ) {} \
explicit _classname(const std::string& msg) noexcept: Exception( #_classname , &msg) {} \
}
Definition at line 47 of file Exceptions.h.
#define OPENVDB_THROW |
( |
|
exception, |
|
|
|
message |
|
) |
| |
Value:
try { \
std::ostringstream _openvdb_throw_os; \
_openvdb_throw_msg = _openvdb_throw_os.str(); \
} catch (...) {} \
throw exception(_openvdb_throw_msg); \
}
GLuint GLsizei const GLchar * message
GLsizei const GLchar *const * string
Definition at line 74 of file Exceptions.h.