Mudbox/error.h Source File
Go to the documentation of this file.
15 #include <QtCore/QCoreApplication>
67 codeUnknown = 0xffffffff
71 Error(
const QString &sMessage,
bool bOnHeap, Code eCode = codeUnspecified );
82 Code eCode = codeUnspecified,
83 const char *pFunction = 0,
84 const char *pSourceFileName = 0,
85 unsigned int iLine = 0
93 enum Code Code(
void )
const;
96 const QString &Message(
void )
const;
109 void Discard(
void )
const;
114 static Error s_cBadAlloc;
Holds information about an error.
Class: ConvolutionKernel.
static void ThrowBadAlloc(void)
Throws a static bad alloc exception. (No memory allocation is required to report allocation problems...
#define Q_DECLARE_TR_FUNCTIONS(context)