[insert project logo here (125x200px max)]

Navigator

Mailinglists

Please report any errors or ommissions you find to our `Help' mailinglist, or post a message in the Forums.

Copyright and Licensing Information

Snap is (c) Jonathan T. Moore, 1999-2002 and licensed under the GNU General Public License (GPL).

All other parts of Splash are (c) Willem de Bruijn, 2002-2003 and licensed under the BSD Open Source License.

All sourcecode is made publicly available.

Acknowledgement

Splash and the Splash website are hosted by SourceForge.net

SourceForge.net Logo

osi-open source certified logo

Splash - Documentation

SNMP Plus a Lightweight API for SNAP Handling

Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

snap-1.1-wjdb/lib/exception.h

Go to the documentation of this file.
00001 /* $Id: exception.h,v 1.1.1.1 2002/12/04 18:59:42 wdebruij Exp $ */
00002 /* List of all of the standard service exceptions */
00003 
00004 #ifndef _EXCEPTION_H_
00005 #define _EXCEPTION_H_
00006 
00007 /* Exceptions 0..RESERVED_BOUND are reserved for the application
00008    to declare as its own exceptions. */
00009 #define RESERVED_BOUND      31
00010 
00011 /* Service exceptions */
00012 #define E_NOT_ENOUGH_RB     (1+RESERVED_BOUND)
00013 #define E_NON_POSITIVE_RB   (2+RESERVED_BOUND)
00014 #define E_NO_ROUTE      (3+RESERVED_BOUND)
00015 #define E_SERVICE_NOT_PRESENT   (4+RESERVED_BOUND)
00016 #define E_SERVICE_ERROR         (5+RESERVED_BOUND)
00017 
00018 #endif