xref: /PHP-5.3/ext/spl/spl_exceptions.h (revision a2045ff3)
1 /*
2    +----------------------------------------------------------------------+
3    | PHP Version 5                                                        |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 1997-2013 The PHP Group                                |
6    +----------------------------------------------------------------------+
7    | This source file is subject to version 3.01 of the PHP license,      |
8    | that is bundled with this package in the file LICENSE, and is        |
9    | available through the world-wide-web at the following url:           |
10    | http://www.php.net/license/3_01.txt                                  |
11    | If you did not receive a copy of the PHP license and are unable to   |
12    | obtain it through the world-wide-web, please send a note to          |
13    | license@php.net so we can mail you a copy immediately.               |
14    +----------------------------------------------------------------------+
15    | Authors: Marcus Boerger <helly@php.net>                              |
16    +----------------------------------------------------------------------+
17  */
18 
19 /* $Id$ */
20 
21 #ifndef SPL_EXCEPTIONS_H
22 #define SPL_EXCEPTIONS_H
23 
24 #include "php.h"
25 #include "php_spl.h"
26 
27 extern PHPAPI zend_class_entry *spl_ce_LogicException;
28 extern PHPAPI zend_class_entry *spl_ce_BadFunctionCallException;
29 extern PHPAPI zend_class_entry *spl_ce_BadMethodCallException;
30 extern PHPAPI zend_class_entry *spl_ce_DomainException;
31 extern PHPAPI zend_class_entry *spl_ce_InvalidArgumentException;
32 extern PHPAPI zend_class_entry *spl_ce_LengthException;
33 extern PHPAPI zend_class_entry *spl_ce_OutOfRangeException;
34 
35 extern PHPAPI zend_class_entry *spl_ce_RuntimeException;
36 extern PHPAPI zend_class_entry *spl_ce_OutOfBoundsException;
37 extern PHPAPI zend_class_entry *spl_ce_OverflowException;
38 extern PHPAPI zend_class_entry *spl_ce_RangeException;
39 extern PHPAPI zend_class_entry *spl_ce_UnderflowException;
40 extern PHPAPI zend_class_entry *spl_ce_UnexpectedValueException;
41 
42 PHP_MINIT_FUNCTION(spl_exceptions);
43 
44 #endif /* SPL_EXCEPTIONS_H */
45 
46 /*
47  * Local Variables:
48  * c-basic-offset: 4
49  * tab-width: 4
50  * End:
51  * vim600: fdm=marker
52  * vim: noet sw=4 ts=4
53  */
54