eLynx SDK v3.0.1
C++ image processing API reference

CoreException.h File 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 Documentation

#define elxExWhereLength   60

Length of the "where" string in the exception.

Definition at line 32 of file CoreException.h.

#define elxExWhatLength   200

Length of the "what" string in the exception.

Definition at line 35 of file CoreException.h.

#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));

Parameters:
iId the id of the error.
iMsg the error message (const char*).

Definition at line 79 of file CoreException.h.


Generated on 14 Apr 2009 by doxygen 1.5.8