HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CE_Error Class Reference

#include <CE_Error.h>

+ Inheritance diagram for CE_Error:

Public Member Functions

 CE_Error (cl_int err, const char *err_str=nullptr)
 
const char * what () const override throw ()
 

Detailed Description

A class derived from cl::Error that allows arbitrary error messages to be stored with the exception (as opposed to only globals like string literals).

Definition at line 23 of file CE_Error.h.

Constructor & Destructor Documentation

CE_Error::CE_Error ( cl_int  err,
const char *  err_str = nullptr 
)
inline

Definition at line 26 of file CE_Error.h.

Member Function Documentation

const char* CE_Error::what ( ) const
throw (
)
inlineoverride

Definition at line 31 of file CE_Error.h.


The documentation for this class was generated from the following file: