Home
last modified time | relevance | path

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

/PHP-7.0/Zend/
H A Dzend_exceptions.c34 ZEND_API zend_class_entry *zend_ce_exception; variable
55 ZSTR_VAL(zend_ce_exception->name), in zend_implement_throwable()
63 …return instanceof_function(Z_OBJCE_P(object), zend_ce_exception) ? zend_ce_exception : zend_ce_err… in i_get_exception_base()
349 zend_update_property_long(zend_ce_exception, object, "code", sizeof("code")-1, code); in ZEND_METHOD()
879 zend_ce_exception = zend_register_internal_class_ex(&ce, NULL); in zend_register_default_exception()
880 zend_ce_exception->create_object = zend_default_exception_new; in zend_register_default_exception()
881 zend_class_implements(zend_ce_exception, 1, zend_ce_throwable); in zend_register_default_exception()
892 zend_ce_error_exception = zend_register_internal_class_ex(&ce, zend_ce_exception); in zend_register_default_exception()
930 return zend_ce_exception; in zend_exception_get_default()
948 exception_ce = zend_ce_exception; in zend_throw_exception()
[all …]
H A Dzend_exceptions.h30 extern ZEND_API zend_class_entry *zend_ce_exception;
H A Dzend_generators.c1143 zend_ce_ClosedGeneratorException = zend_register_internal_class_ex(&ce, zend_ce_exception); in zend_register_generator_ce()
/PHP-7.0/ext/standard/
H A Drandom.c90 zend_throw_exception(zend_ce_exception, "Could not gather sufficient random data", 0); in php_random_bytes()
144 zend_throw_exception(zend_ce_exception, "Cannot open source device", 0); in php_random_bytes()
158 zend_throw_exception(zend_ce_exception, "Error reading from source device", 0); in php_random_bytes()
174 zend_throw_exception(zend_ce_exception, "Could not gather sufficient random data", 0); in php_random_bytes()
/PHP-7.0/ext/intl/
H A Dintl_error.c240 zend_ce_exception ); in intl_register_IntlException_class()
241 IntlException_ce_ptr->create_object = zend_ce_exception->create_object; in intl_register_IntlException_class()
/PHP-7.0/ext/spl/
H A Dspl_exceptions.c50 #define spl_ce_Exception zend_ce_exception
/PHP-7.0/ext/sqlite3/
H A Dsqlite3.c57 zend_throw_exception(zend_ce_exception, message, 0); in php_sqlite3_error()
115 zend_throw_exception(zend_ce_exception, "Already initialised DB Object", 0);
122 zend_throw_exception(zend_ce_exception, "Unable to expand filepath", 0);
128 zend_throw_exception_ex(zend_ce_exception, 0, "safe_mode prohibits opening %s", fullpath);
135 zend_throw_exception_ex(zend_ce_exception, 0, "open_basedir prohibits opening %s", fullpath);
150 zend_throw_exception_ex(zend_ce_exception, 0, "Unable to open database: %s",
165 …zend_throw_exception_ex(zend_ce_exception, 0, "Unable to open database: %s", sqlite3_errmsg(db_obj…
1881 zend_throw_exception(zend_ce_exception, "SQLite3Result cannot be directly instantiated", 0);
/PHP-7.0/ext/pdo/
H A Dpdo.c96 return zend_ce_exception; in php_pdo_get_exception_base()
/PHP-7.0/ext/mysqli/
H A Dmysqli.c609 mysqli_exception_class_entry = zend_register_internal_class_ex(&cex, zend_ce_exception); in PHP_MINIT_FUNCTION()
1316 zend_throw_exception(zend_ce_exception, "Parameter ctor_params must be an array", 0); in php_mysqli_fetch_into_hash()
1328 …zend_throw_exception_ex(zend_ce_exception, 0, "Could not execute %s::%s()", ZSTR_VAL(ce->name), ZS… in php_mysqli_fetch_into_hash()
1334 …zend_throw_exception_ex(zend_ce_exception, 0, "Class %s does not have a constructor hence you cann… in php_mysqli_fetch_into_hash()
/PHP-7.0/ext/com_dotnet/
H A Dcom_extension.c361 php_com_exception_class_entry = zend_register_internal_class_ex(&ce, zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-7.0/ext/simplexml/
H A Dsimplexml.c2324 zend_throw_exception(zend_ce_exception, "Data is too long", 0); in SXE_METHOD()
2328 zend_throw_exception(zend_ce_exception, "Namespace is too long", 0); in SXE_METHOD()
2332 zend_throw_exception(zend_ce_exception, "Invalid options", 0); in SXE_METHOD()
2340 zend_throw_exception(zend_ce_exception, "String could not be parsed as XML", 0); in SXE_METHOD()
/PHP-7.0/sapi/cli/
H A Dphp_cli.c1098 msg = zend_read_property(zend_ce_exception, &tmp, "message", sizeof("message")-1, 0, &rv); in do_cli()
/PHP-7.0/ext/snmp/
H A Dsnmp.c1815 zend_throw_exception(zend_ce_exception, "Unknown SNMP protocol version", 0); in PHP_METHOD()
2423 php_snmp_exception_ce = zend_register_internal_class_ex(&cex, zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-7.0/ext/dom/
H A Dphp_dom.c618 dom_domexception_class_entry = zend_register_internal_class_ex(&ce, zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-7.0/ext/pgsql/
H A Dpgsql.c2811 zend_throw_exception(zend_ce_exception, "Parameter ctor_params must be an array", 0);
2823 …zend_throw_exception_ex(zend_ce_exception, 0, "Could not execute %s::%s()", ce->name, ce->construc…
2831 …zend_throw_exception_ex(zend_ce_exception, 0, "Class %s does not have a constructor hence you cann…
/PHP-7.0/ext/phar/
H A Dphar_object.c1153 …zend_throw_exception_ex(zend_ce_exception, 0, "Cannot instantiate Phar object without SPL extensio… in PHP_METHOD()
5525 phar_ce_PharException = zend_register_internal_class_ex(&ce, zend_ce_exception); in phar_object_init()
/PHP-7.0/ext/soap/
H A Dsoap.c686 soap_fault_class_entry = zend_register_internal_class_ex(&ce, zend_ce_exception); in PHP_MINIT_FUNCTION()
3295 …zend_update_property_string(zend_ce_exception, obj, "message", sizeof("message")-1, (fault_string …
/PHP-7.0/ext/reflection/
H A Dphp_reflection.c6560 reflection_exception_ptr = zend_register_internal_class_ex(&_reflection_entry, zend_ce_exception); in PHP_MINIT_FUNCTION()

Completed in 118 milliseconds