Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

include/om/omerrortypes.h

Go to the documentation of this file.
00001 
00004 /* ----START-LICENCE----
00005  * Copyright 1999,2000,2001 BrightStation PLC
00006  *
00007  * This program is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU General Public License as
00009  * published by the Free Software Foundation; either version 2 of the
00010  * License, or (at your option) any later version.
00011  *
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00020  * USA
00021  * -----END-LICENCE-----
00022  */
00023 
00037 DEFINE_ERROR_BASECLASS(OmLogicError, OmError);
00038 
00044 DEFINE_ERROR_BASECLASS(OmRuntimeError, OmError);
00045 
00048 DEFINE_ERROR_CLASS(OmAssertionError, OmLogicError);
00049 
00051 DEFINE_ERROR_CLASS(OmUnimplementedError, OmLogicError);
00052 
00054 DEFINE_ERROR_CLASS(OmInvalidArgumentError, OmLogicError);
00055 
00057 DEFINE_ERROR_CLASS(OmInvalidOperationError, OmLogicError);
00058 
00062 DEFINE_ERROR_CLASS(OmDocNotFoundError, OmRuntimeError);
00063 
00065 DEFINE_ERROR_CLASS(OmRangeError, OmRuntimeError);
00066 
00070 DEFINE_ERROR_CLASS(OmInternalError, OmRuntimeError);
00071 
00073 DEFINE_ERROR_CLASS(OmDatabaseError, OmRuntimeError);
00074 
00077 DEFINE_ERROR_CLASS(OmFeatureUnavailableError, OmRuntimeError);
00078 
00082 DEFINE_ERROR_CLASS(OmNetworkError, OmRuntimeError);
00083 
00086 DEFINE_ERROR_CLASS(OmNetworkTimeoutError, OmNetworkError);
00087 
00089 DEFINE_ERROR_CLASS(OmDatabaseCorruptError, OmDatabaseError);
00090 
00092 DEFINE_ERROR_CLASS(OmDatabaseCreateError, OmDatabaseError);
00093 
00094 // FIXME: should be called OmDatabaseOpeningError
00096 DEFINE_ERROR_CLASS(OmOpeningError, OmDatabaseError);
00097 
00099 DEFINE_ERROR_CLASS(OmDatabaseLockError, OmDatabaseError);
00100 
00102 DEFINE_ERROR_CLASS(OmDatabaseModifiedError, OmDatabaseError);
00103 
00105 DEFINE_ERROR_CLASS(OmInvalidResultError, OmRuntimeError);
00106 
00108 DEFINE_ERROR_CLASS(OmTypeError, OmRuntimeError);
00109 
00111 DEFINE_ERROR_CLASS(OmInvalidDataError, OmRuntimeError);
00112 
00114 DEFINE_ERROR_CLASS(OmDataFlowError, OmRuntimeError);

Documentation for Xapian (version 0.6.1).
Generated on 7 Dec 2002 by Doxygen 1.2.15.