Public Member Functions | |
Exception (const std::string &message, RTresult error_code=RT_ERROR_UNKNOWN) | |
virtual | ~Exception () throw () |
const std::string & | getErrorString () const |
RTresult | getErrorCode () const |
virtual const char * | what () const throw () |
Static Public Member Functions | |
static Exception | makeException (RTresult code, RTcontext context) |
Exception class for error reporting from the OptiXpp API.
Encapsulates an error message, often the direct result of a failed OptiX C API function call and subsequent rtContextGetErrorString call.