FXException.h File Reference


Detailed Description

Defines macros and classes used in implementation of FOX exception generation & handling.

Definition in file FXException.h.

#include <string.h>
#include <errno.h>
#include <new>
#include "FXString.h"

Go to the source code of this file.

Namespaces

namespace  FX

Classes

class  FX::FXException
 The base exception class in FOX. More...
struct  FX::FXException_TryHandler

Defines

#define FXEXCEPTION_FILE(p)
#define FXEXCEPTION_FUNCTION(p)
#define FXEXCEPTION_LINE(p)
#define FXERRMAKE(e2, msg, code, flags)
#define FXERRH_THROW(e2)
#define FXERRG(msg, code, flags)
#define FXERRH(cond, msg, code, flags)
#define FXERRGOS(code, flags)
#define FXERRGOSFN(code, flags, filename)
#define FXERRHOS(exp)
#define FXERRHOSFN(exp, filename)
#define FXERRH_TRY
#define FXERRH_CATCH(e2)
#define FXERRH_REPORT(owner, e2)
#define FXERRH_ENDTRY
#define FXDELETE(v)
#define FXERRH_NODESTRUCTORMOD
#define FXEXCEPTIONDESTRUCT1
#define FXEXCEPTIONDESTRUCT2
#define FXEXCEPTION_STL1
#define FXEXCEPTION_STL2
#define FXEXCEPTION_FOXCALLING1
#define FXEXCEPTION_FOXCALLING2
#define FXEXCEPTIONAPI_STUPIDDOXYGEN
#define FXERRGRANGE(msg, flags)
#define FXERRGPTR(flags)
#define FXERRHPTR(exp, flags)
#define FXERRGM
#define FXERRHM(exp)
#define FXERRGNOTSUPP(msg)
#define FXERRGNF(msg, flags)
#define FXERRGIO(msg)
#define FXERRHIO(exp)
#define FXERRGCONLOST(msg, flags)
#define FXERRGNOPERM(msg, flags)

Enumerations

enum  FX::FXExceptionFlags {
  FX::FXERRH_ISFATAL, FX::FXERRH_ISNORETRY, FX::FXERRH_ISINFORMATIONAL, FX::FXERRH_ISFROMOTHER,
  FX::FXERRH_HASNESTED, FX::FXERRH_ISDEBUG, FX::FXERRH_ISFOXEXCEPTION
}
enum  FX::FXExceptionCodes {
  FX::FXEXCEPTION_USER, FX::FXEXCEPTION_SYSCODE_BASE, FX::FXEXCEPTION_BADRANGE, FX::FXEXCEPTION_NULLPOINTER,
  FX::FXEXCEPTION_NORESOURCE, FX::FXEXCEPTION_NOMEMORY, FX::FXEXCEPTION_NOTSUPPORTED, FX::FXEXCEPTION_NOTFOUND,
  FX::FXEXCEPTION_IOERROR, FX::FXEXCEPTION_CONNECTIONLOST, FX::FXEXCEPTION_NOPERMISSION, FX::FXEXCEPTION_WINDOW,
  FX::FXEXCEPTION_IMAGE, FX::FXEXCEPTION_FONT, FX::FXEXCEPTION_OSSPECIFIC, FX::FXEXCEPTION_PYTHONERROR,
  FX::FXEXCEPTION_INTTHREADCANCEL
}

Functions

FXAPI FXStream & FX::operator<< (FXStream &s, const FXException &i)
FXAPI FXStream & FX::operator>> (FXStream &s, FXException &i)
class FX::FXEXCEPTIONAPI (FXAPI) FXRangeException


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:31:29 2009 for TnFOX by doxygen v1.4.7