Home
last modified time | relevance | path

Searched refs:zend_ce_exception (Results 1 – 20 of 20) sorted by relevance

/php-src/ext/spl/
H A Dspl_exceptions.c42 #define spl_ce_Exception zend_ce_exception
47 spl_ce_LogicException = register_class_LogicException(zend_ce_exception); in PHP_MINIT_FUNCTION()
55 spl_ce_RuntimeException = register_class_RuntimeException(zend_ce_exception); in PHP_MINIT_FUNCTION()
/php-src/Zend/
H A Dzend_exceptions.c34 ZEND_API zend_class_entry *zend_ce_exception; variable
86 return instanceof_function(object->ce, zend_ce_exception) ? zend_ce_exception : zend_ce_error; in i_get_exception_base()
378 zend_update_property_ex(zend_ce_exception, Z_OBJ_P(object), ZSTR_KNOWN(ZEND_STR_CODE), &tmp); in ZEND_METHOD()
390 zend_update_property_ex(zend_ce_exception, Z_OBJ_P(object), ZSTR_KNOWN(ZEND_STR_FILE), &tmp); in ZEND_METHOD()
396 zend_update_property_ex(zend_ce_exception, Z_OBJ_P(object), ZSTR_KNOWN(ZEND_STR_LINE), &tmp); in ZEND_METHOD()
399 zend_update_property_ex(zend_ce_exception, Z_OBJ_P(object), ZSTR_KNOWN(ZEND_STR_LINE), &tmp); in ZEND_METHOD()
764 zend_ce_exception = register_class_Exception(zend_ce_throwable); in zend_register_default_exception()
765 zend_init_exception_class_entry(zend_ce_exception); in zend_register_default_exception()
767 zend_ce_error_exception = register_class_ErrorException(zend_ce_exception); in zend_register_default_exception()
809 return zend_ce_exception; in zend_exception_get_default()
[all …]
H A Dzend_exceptions.h30 extern ZEND_API zend_class_entry *zend_ce_exception;
H A Dzend_generators.c1226 zend_ce_ClosedGeneratorException = register_class_ClosedGeneratorException(zend_ce_exception); in zend_register_generator_ce()
/php-src/ext/intl/
H A Dphp_intl.c189 IntlException_ce_ptr = register_class_IntlException(zend_ce_exception); in PHP_MINIT_FUNCTION()
190 IntlException_ce_ptr->create_object = zend_ce_exception->create_object; in PHP_MINIT_FUNCTION()
/php-src/ext/com_dotnet/
H A Dcom_extension.c180 php_com_exception_class_entry = register_class_com_exception(zend_ce_exception); in PHP_MINIT_FUNCTION()
/php-src/ext/json/
H A Djson.c50 php_json_exception_ce = register_class_JsonException(zend_ce_exception); in PHP_MINIT_FUNCTION()
/php-src/ext/pdo/
H A Dpdo_dbh.c109 …zend_update_property_string(zend_ce_exception, Z_OBJ(ex), "message", sizeof("message")-1, message); in pdo_raise_impl_error()
110 zend_update_property_string(zend_ce_exception, Z_OBJ(ex), "code", sizeof("code")-1, *pdo_err); in pdo_raise_impl_error()
186 zend_update_property_str(zend_ce_exception, Z_OBJ(ex), "message", sizeof("message") - 1, message); in pdo_handle_error()
187 zend_update_property_string(zend_ce_exception, Z_OBJ(ex), "code", sizeof("code") - 1, *pdo_err); in pdo_handle_error()
/php-src/ext/sqlite3/
H A Dsqlite3.c118 zend_throw_exception(zend_ce_exception, "Already initialised DB Object", 0); in PHP_METHOD()
125 zend_throw_exception(zend_ce_exception, "Unable to expand filepath", 0); in PHP_METHOD()
130 zend_throw_exception_ex(zend_ce_exception, 0, "open_basedir prohibits opening %s", fullpath); in PHP_METHOD()
141 zend_throw_exception_ex(zend_ce_exception, 0, "Unable to open database: %s", in PHP_METHOD()
157 …zend_throw_exception_ex(zend_ce_exception, 0, "Unable to open database: %s", sqlite3_errmsg(db_obj… in PHP_METHOD()
2061 zend_throw_exception(zend_ce_exception, "SQLite3Result cannot be directly instantiated", 0); in PHP_METHOD()
2392 php_sqlite3_exception_ce = register_class_SQLite3Exception(zend_ce_exception); in PHP_MINIT_FUNCTION()
/php-src/ext/random/
H A Drandom.c744 random_ce_Random_RandomException = register_class_Random_RandomException(zend_ce_exception);
/php-src/ext/simplexml/
H A Dsimplexml.c2311 zend_argument_error(zend_ce_exception, 1, "is too long"); in PHP_METHOD()
2315 zend_argument_error(zend_ce_exception, 4, "is too long"); in PHP_METHOD()
2319 zend_argument_error(zend_ce_exception, 2, "is invalid"); in PHP_METHOD()
2328 zend_throw_exception(zend_ce_exception, "String could not be parsed as XML", 0); in PHP_METHOD()
/php-src/sapi/cli/
H A Dphp_cli.c1058 …zval *msg = zend_read_property_ex(zend_ce_exception, EG(exception), ZSTR_KNOWN(ZEND_STR_MESSAGE), … in do_cli()
/php-src/ext/tidy/
H A Dtidy.c1374 …zend_throw_error(zend_ce_exception, "Cannot load \"%s\" into memory%s", ZSTR_VAL(inputfile), (use_… in PHP_METHOD()
/php-src/ext/sodium/
H A Dlibsodium.c143 zend_object *obj = zend_ce_exception->create_object(ce); in sodium_exception_create_object()
163 sodium_exception_ce = register_class_SodiumException(zend_ce_exception); in PHP_MINIT_FUNCTION()
/php-src/ext/soap/
H A Dsoap.c151 #define FAULT_PROP_START_OFFSET zend_ce_exception->default_properties_count
514 soap_fault_class_entry = register_class_SoapFault(zend_ce_exception); in PHP_MINIT_FUNCTION()
2937 …zend_update_property_ex(zend_ce_exception, Z_OBJ_P(obj), ZSTR_KNOWN(ZEND_STR_MESSAGE), Z_FAULT_STR… in set_soap_fault()
/php-src/ext/dom/
H A Dphp_dom.c812 dom_domexception_class_entry = register_class_DOMException(zend_ce_exception); in PHP_MINIT_FUNCTION()
/php-src/ext/phar/
H A Dphar_object.c5103 phar_ce_PharException = register_class_PharException(zend_ce_exception); in phar_object_init()
/php-src/ext/date/
H A Dphp_date.c1810 date_ce_date_exception = register_class_DateException(zend_ce_exception); in date_register_classes()
/php-src/ext/reflection/
H A Dphp_reflection.c7669 reflection_exception_ptr = register_class_ReflectionException(zend_ce_exception); in PHP_MINIT_FUNCTION()
/php-src/ext/openssl/
H A Dopenssl.c8160 zend_throw_exception(zend_ce_exception, "Error reading from source device", 0);

Completed in 177 milliseconds