Simple class for describing exceptions that may be thrown during calls to LWPR methods. More...
#include <lwpr.hh>
Public Types | |
| enum | Code { OUT_OF_MEMORY, BAD_INPUT_DIM, BAD_OUTPUT_DIM, BAD_INIT_D, UNKNOWN_KERNEL, IO_ERROR, OUT_OF_RANGE, UNSPECIFIED_ERROR } |
This enumeration lists the possible error codes for exceptions thrown by LWPR_Object methods. More... | |
Public Member Functions | |
| LWPR_Exception (Code code) | |
| Creates an LWPR exception with error code "code". | |
| Code | getCode () const |
| Returns one of the values in LWPR_Exception::Code. | |
| const char * | getString () const |
| Returns a short string describing this exception. | |
Private Attributes | |
| Code | code |
| The exception's error code. | |
Simple class for describing exceptions that may be thrown during calls to LWPR methods.
| enum LWPR_Exception::Code |
This enumeration lists the possible error codes for exceptions thrown by LWPR_Object methods.
| LWPR_Exception::LWPR_Exception | ( | Code | code | ) | [inline] |
Creates an LWPR exception with error code "code".
| code | One of the values in LWPR_Exception::Code |
1.6.3