Exception class.
More...
#include <cl.hpp>
List of all members.
Public Member Functions |
| Error (cl_int err, const char *errStr=NULL) |
| ~Error () throw () |
virtual const char * | what () const throw () |
| Get error string associated with exception.
|
cl_int | err (void) const |
| Get error code associated with exception.
|
Private Attributes |
cl_int | err_ |
const char * | errStr_ |
Detailed Description
Exception class.
Definition at line 220 of file cl.hpp.
Constructor & Destructor Documentation
Create a new CL error exception for a given error code and corresponding message.
Definition at line 229 of file cl.hpp.
Member Function Documentation
Get error code associated with exception.
- Returns:
- The error code.
Definition at line 252 of file cl.hpp.
Get error string associated with exception.
- Returns:
- A memory pointer to the error message string.
Definition at line 238 of file cl.hpp.
Member Data Documentation
The documentation for this class was generated from the following file: