eLynx SDK
v3.0.1 C++ image processing API reference |
#include "CoreLib.h"
#include "CoreTypes.h"
#include "CoreErrorIds.h"
Go to the source code of this file.
Classes | |
struct | eLynx::elxException |
Namespaces | |
namespace | eLynx |
Defines | |
#define | elxExWhereLength 60 |
Length of the "where" string in the exception. | |
#define | elxExWhatLength 200 |
Length of the "what" string in the exception. | |
#define | elxThrow(iId, iMsg) elxThrowException(iId, __FILE__, __LINE__, iMsg) |
Functions | |
ExportedByCore void | eLynx::elxThrowException (uint32 iId, const char *iFile, int32 iLine, const char *iMsg) |
ExportedByCore const char * | eLynx::elxMsgFormat (const char *iFormatStr,...) |
#define elxExWhereLength 60 |
#define elxExWhatLength 200 |
#define elxThrow | ( | iId, | |||
iMsg | ) | elxThrowException(iId, __FILE__, __LINE__, iMsg) |
Macro to throw the exception with given message. It automatically fills file and line parameters. Typical usages: elxThrow("Out of memory."); elxThrow(elxMsgFormat("Index %i out of range <0, %i>.", iIndex, _Count));
iId | the id of the error. | |
iMsg | the error message (const char*). |
Definition at line 79 of file CoreException.h.