include/xapian/errortypes.h

Go to the documentation of this file.
00001 
00004 /* ----START-LICENCE----
00005  * Copyright 1999,2000,2001 BrightStation PLC
00006  * Copyright 2003,2004 Olly Betts
00007  *
00008  * This program is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU General Public License as
00010  * published by the Free Software Foundation; either version 2 of the
00011  * License, or (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00021  * USA
00022  * -----END-LICENCE-----
00023  */
00024 
00038 XAPIAN_DEFINE_ERROR_BASECLASS(LogicError, Error);
00039 
00045 XAPIAN_DEFINE_ERROR_BASECLASS(RuntimeError, Error);
00046 
00049 XAPIAN_DEFINE_ERROR_CLASS(AssertionError, LogicError);
00050 
00052 XAPIAN_DEFINE_ERROR_CLASS(UnimplementedError, LogicError);
00053 
00055 XAPIAN_DEFINE_ERROR_CLASS(InvalidArgumentError, LogicError);
00056 
00058 XAPIAN_DEFINE_ERROR_CLASS(InvalidOperationError, LogicError);
00059 
00063 XAPIAN_DEFINE_ERROR_CLASS(DocNotFoundError, RuntimeError);
00064 
00066 XAPIAN_DEFINE_ERROR_CLASS(RangeError, RuntimeError);
00067 
00071 XAPIAN_DEFINE_ERROR_CLASS(InternalError, RuntimeError);
00072 
00074 XAPIAN_DEFINE_ERROR_CLASS(DatabaseError, RuntimeError);
00075 
00078 XAPIAN_DEFINE_ERROR_CLASS(FeatureUnavailableError, RuntimeError);
00079 
00083 XAPIAN_DEFINE_ERROR_CLASS(NetworkError, RuntimeError);
00084 
00087 XAPIAN_DEFINE_ERROR_CLASS(NetworkTimeoutError, NetworkError);
00088 
00090 XAPIAN_DEFINE_ERROR_CLASS(DatabaseCorruptError, DatabaseError);
00091 
00093 XAPIAN_DEFINE_ERROR_CLASS(DatabaseCreateError, DatabaseError);
00094 
00096 XAPIAN_DEFINE_ERROR_CLASS(DatabaseOpeningError, DatabaseError);
00097 
00099 XAPIAN_DEFINE_ERROR_CLASS(DatabaseLockError, DatabaseError);
00100 
00102 XAPIAN_DEFINE_ERROR_CLASS(DatabaseModifiedError, DatabaseError);

Documentation for Xapian (version 0.9.6).
Generated on 15 May 2006 by Doxygen 1.4.6.