QxOrm  1.5.0
C++ Object Relational Mapping library
QxExceptionCode.h File Reference

Some errors codes defined by QxOrm library. More...

Go to the source code of this file.

Defines

#define QX_ERROR_UNKNOWN   1
#define QX_ERROR_SERVICE_NOT_SPECIFIED   2
#define QX_ERROR_SERVICE_INVALID   3
#define QX_ERROR_SERVER_NOT_FOUND   4
#define QX_ERROR_SERVICE_WRITE_ERROR   5
#define QX_ERROR_SERVICE_READ_ERROR   6
#define QX_ERROR_SERVICE_SSL_ENCRYPTED   7
#define QX_EXCEPTION_UNKNOWN   qx::exception(QX_ERROR_UNKNOWN, "unknown error")
#define QX_EXCEPTION_SERVICE_NOT_SPECIFIED   qx::exception(QX_ERROR_SERVICE_NOT_SPECIFIED, "[QxOrm] empty service name")
#define QX_EXCEPTION_SERVICE_INVALID   qx::exception(QX_ERROR_SERVICE_INVALID, "[QxOrm] invalid service")
#define QX_EXCEPTION_SERVER_NOT_FOUND   qx::exception(QX_ERROR_SERVER_NOT_FOUND, "[QxOrm] unable to connect to server")
#define QX_EXCEPTION_SERVICE_WRITE_ERROR   qx::exception(QX_ERROR_SERVICE_WRITE_ERROR, "[QxOrm] unable to write request to socket")
#define QX_EXCEPTION_SERVICE_READ_ERROR   qx::exception(QX_ERROR_SERVICE_READ_ERROR, "[QxOrm] unable to read reply from socket")
#define QX_EXCEPTION_SERVICE_SSL_ENCRYPTED   qx::exception(QX_ERROR_SERVICE_SSL_ENCRYPTED, "[QxOrm] SSL socket encrypted error")

Detailed Description

Some errors codes defined by QxOrm library.

Author:
Lionel Marty

Definition in file QxExceptionCode.h.


Define Documentation

#define QX_ERROR_SERVER_NOT_FOUND   4

Definition at line 51 of file QxExceptionCode.h.

#define QX_ERROR_SERVICE_INVALID   3

Definition at line 50 of file QxExceptionCode.h.

#define QX_ERROR_SERVICE_NOT_SPECIFIED   2

Definition at line 49 of file QxExceptionCode.h.

#define QX_ERROR_SERVICE_READ_ERROR   6

Definition at line 53 of file QxExceptionCode.h.

#define QX_ERROR_SERVICE_SSL_ENCRYPTED   7

Definition at line 54 of file QxExceptionCode.h.

#define QX_ERROR_SERVICE_WRITE_ERROR   5

Definition at line 52 of file QxExceptionCode.h.

#define QX_ERROR_UNKNOWN   1

Definition at line 48 of file QxExceptionCode.h.

#define QX_EXCEPTION_SERVER_NOT_FOUND   qx::exception(QX_ERROR_SERVER_NOT_FOUND, "[QxOrm] unable to connect to server")

Definition at line 59 of file QxExceptionCode.h.

#define QX_EXCEPTION_SERVICE_INVALID   qx::exception(QX_ERROR_SERVICE_INVALID, "[QxOrm] invalid service")

Definition at line 58 of file QxExceptionCode.h.

#define QX_EXCEPTION_SERVICE_NOT_SPECIFIED   qx::exception(QX_ERROR_SERVICE_NOT_SPECIFIED, "[QxOrm] empty service name")

Definition at line 57 of file QxExceptionCode.h.

#define QX_EXCEPTION_SERVICE_READ_ERROR   qx::exception(QX_ERROR_SERVICE_READ_ERROR, "[QxOrm] unable to read reply from socket")

Definition at line 61 of file QxExceptionCode.h.

#define QX_EXCEPTION_SERVICE_SSL_ENCRYPTED   qx::exception(QX_ERROR_SERVICE_SSL_ENCRYPTED, "[QxOrm] SSL socket encrypted error")

Definition at line 62 of file QxExceptionCode.h.

#define QX_EXCEPTION_SERVICE_WRITE_ERROR   qx::exception(QX_ERROR_SERVICE_WRITE_ERROR, "[QxOrm] unable to write request to socket")

Definition at line 60 of file QxExceptionCode.h.

#define QX_EXCEPTION_UNKNOWN   qx::exception(QX_ERROR_UNKNOWN, "unknown error")

Definition at line 56 of file QxExceptionCode.h.