NVIDIA OptiX 6.5 API nvidia_logo_transpbg.gif Up
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
optix::Exception Class Reference
Inheritance diagram for optix::Exception:

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)

Detailed Description

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.