Main Page   File List   File Members   Related Pages  

frdi_exception_def.h File Reference

defines for frdi_exception.c More...

Go to the source code of this file.

Defines

#define FRDI_ERR_RESOURCE   100
#define FRDI_ERR_MEMORY   101
#define FRDI_ERR_FILE   102
#define FRDI_ERR_SOCKET   103
#define FRDI_ERR_THREAD   104
#define FRDI_ERR_INTERFACE   200
#define FRDI_ERR_CONFIG   201
#define FRDI_ERR_PROTOCOL   202
#define FRDI_ERR_INTERNAL   200
#define FRDI_ERR_POINTER   301
#define FRDI_ERR_MATH   302
#define FRDI_ERR_RANGE   303
#define FRDI_ERR_FORMAT   304
#define FRDI_ERR_METHOD   305
#define FRDI_ERR_GENERIC   400


Detailed Description

defines for frdi_exception.c

Author:
Douglas Reay <douglas-legal@reay.org>
Warning:

Define Documentation

#define FRDI_ERR_RESOURCE   100
 

Thrown when there is some other, unspecified resource error

#define FRDI_ERR_MEMORY   101
 

Thrown when there is a problem originating with the memory management system (eg malloc)

#define FRDI_ERR_FILE   102
 

Thrown when there is a problem originating with the file system or stdio operations (eg file not found, disk full, bad permissions, stream interrupted)

#define FRDI_ERR_SOCKET   103
 

Thrown when there is a problem originating with the internet or sockets (eg host not found, socket closed unexpectedly, unable to bind to a port)

#define FRDI_ERR_THREAD   104
 

Thrown when there is a problem originating with the process management system (eg threads)

#define FRDI_ERR_INTERFACE   200
 

Thrown when there is some other, unspecified interface error

#define FRDI_ERR_CONFIG   201
 

Thrown when there is a problem originating with the configuration file or a value in it (eg doesn't exist, havn't been told where it is, invalid format, invalid value of a parameter within it)

#define FRDI_ERR_PROTOCOL   202
 

Thrown when a message, while maybe well formatted within itself, is not something we can make sense of in the current context

#define FRDI_ERR_INTERNAL   200
 

Thrown when there is some other, unspecified internal error

#define FRDI_ERR_POINTER   301
 

Thrown when a pointer isn't what we expect or doesn't point to the data type we require (eg null pointer)

#define FRDI_ERR_MATH   302
 

Thrown when we can't deal with a number (eg null divisor, result too large, floating when integer expected)

#define FRDI_ERR_RANGE   303
 

Thrown when an index is out of range of an array or list, or there is a problem with dictionary keys

#define FRDI_ERR_FORMAT   304
 

Thrown when an argument or message is wrong (eg bad argumemt, invalid xml, "two" instead of "2")

#define FRDI_ERR_METHOD   305
 

Thrown when some other C or external library function complains (eg bad comparison)

#define FRDI_ERR_GENERIC   400
 

Thrown when there is some other unspecified error


Generated on Wed Aug 18 13:23:56 2004 for Project Fairdice by doxygen1.2.18