|
OptiX
3.9
NVIDIA OptiX Acceleration Engine
|
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.
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) |
|
inlinevirtual | |||||||||||||
Virtual destructor (needed for virtual function calls inherited from std::exception).
1.8.6