return http_exception_object_ce;
}
-void _http_exception_throw_ce_ex(zend_class_entry *ce, int code TSRMLS_DC)
-{
- static char * const errors[] = {
- "Unkown Error"
- };
-
- if (!ce) {
- ce = http_exception_get_default();
- }
-
- zend_throw_exception(ce, errors[code], code TSRMLS_CC);
-}
-
#endif
/*
#define http_exception_get_default _http_exception_get_default
extern zend_class_entry *_http_exception_get_default();
-#define http_exception_throw() http_exception_throw_ex(0)
-#define http_exception_throw_ex(code) http_exception_throw_ce_ex(NULL, code)
-#define http_exception_throw_ce(ce) http_exception_throw_ce_ex(ce, 0)
-#define http_exception_throw_ce_ex(ce, code) _http_exception_throw_ce_ex(ce, code TSRMLS_CC)
-extern void _http_exception_throw_ce_ex(zend_class_entry *ce, int code TSRMLS_DC);
-
-#define HTTP_E_UNKOWN 0
-
#endif
#endif