/php-src/ext/spl/ |
H A D | spl_exceptions.c | 42 #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 D | zend_exceptions.c | 34 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 D | zend_exceptions.h | 30 extern ZEND_API zend_class_entry *zend_ce_exception;
|
H A D | zend_generators.c | 1226 zend_ce_ClosedGeneratorException = register_class_ClosedGeneratorException(zend_ce_exception); in zend_register_generator_ce()
|
/php-src/ext/intl/ |
H A D | php_intl.c | 189 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 D | com_extension.c | 180 php_com_exception_class_entry = register_class_com_exception(zend_ce_exception); in PHP_MINIT_FUNCTION()
|
/php-src/ext/json/ |
H A D | json.c | 50 php_json_exception_ce = register_class_JsonException(zend_ce_exception); in PHP_MINIT_FUNCTION()
|
/php-src/ext/pdo/ |
H A D | pdo_dbh.c | 109 …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 D | sqlite3.c | 118 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 D | random.c | 744 random_ce_Random_RandomException = register_class_Random_RandomException(zend_ce_exception);
|
/php-src/ext/simplexml/ |
H A D | simplexml.c | 2311 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 D | php_cli.c | 1058 …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 D | tidy.c | 1374 …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 D | libsodium.c | 143 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 D | soap.c | 151 #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 D | php_dom.c | 812 dom_domexception_class_entry = register_class_DOMException(zend_ce_exception); in PHP_MINIT_FUNCTION()
|
/php-src/ext/phar/ |
H A D | phar_object.c | 5103 phar_ce_PharException = register_class_PharException(zend_ce_exception); in phar_object_init()
|
/php-src/ext/date/ |
H A D | php_date.c | 1810 date_ce_date_exception = register_class_DateException(zend_ce_exception); in date_register_classes()
|
/php-src/ext/reflection/ |
H A D | php_reflection.c | 7669 reflection_exception_ptr = register_class_ReflectionException(zend_ce_exception); in PHP_MINIT_FUNCTION()
|
/php-src/ext/openssl/ |
H A D | openssl.c | 8160 zend_throw_exception(zend_ce_exception, "Error reading from source device", 0);
|