00001 /*************************************************************************** 00002 * Copyright (C) 2006-2007 by Konstantin V. Arkhipov * 00003 * * 00004 * This program is free software; you can redistribute it and/or modify * 00005 * it under the terms of the GNU Lesser General Public License as * 00006 * published by the Free Software Foundation; either version 3 of the * 00007 * License, or (at your option) any later version. * 00008 * * 00009 ***************************************************************************/ 00010 /* $Id: Exceptions.h 4687 2007-12-09 18:57:18Z voxus $ */ 00011 00012 #ifndef ONPHP_CORE_EXCEPTIONS_H 00013 #define ONPHP_CORE_EXCEPTIONS_H 00014 00015 #include "php.h" 00016 #include "ext/spl/spl_functions.h" 00017 00018 PHPAPI zend_class_entry *onphp_ce_BaseException; 00019 PHPAPI zend_class_entry *onphp_ce_BusinessLogicException; 00020 PHPAPI zend_class_entry *onphp_ce_ClassNotFoundException; 00021 PHPAPI zend_class_entry *onphp_ce_DatabaseException; 00022 PHPAPI zend_class_entry *onphp_ce_DuplicateObjectException; 00023 PHPAPI zend_class_entry *onphp_ce_FileNotFoundException; 00024 PHPAPI zend_class_entry *onphp_ce_IOException; 00025 PHPAPI zend_class_entry *onphp_ce_IOTimedOutException; 00026 PHPAPI zend_class_entry *onphp_ce_MissingElementException; 00027 PHPAPI zend_class_entry *onphp_ce_NetworkException; 00028 PHPAPI zend_class_entry *onphp_ce_ObjectNotFoundException; 00029 PHPAPI zend_class_entry *onphp_ce_TooManyRowsException; 00030 PHPAPI zend_class_entry *onphp_ce_UnimplementedFeatureException; 00031 PHPAPI zend_class_entry *onphp_ce_UnsupportedMethodException; 00032 PHPAPI zend_class_entry *onphp_ce_WrongArgumentException; 00033 PHPAPI zend_class_entry *onphp_ce_WrongStateException; 00034 00035 PHP_MINIT_FUNCTION(Exceptions); 00036 00037 #endif /* ONPHP_CORE_EXCEPTIONS_H */