Lines Matching refs:exception_ce

816 static zend_object *zend_throw_exception_zstr(zend_class_entry *exception_ce, zend_string *message,…  in zend_throw_exception_zstr()  argument
820 if (!exception_ce) { in zend_throw_exception_zstr()
821 exception_ce = zend_ce_exception; in zend_throw_exception_zstr()
824 ZEND_ASSERT(instanceof_function(exception_ce, zend_ce_throwable) in zend_throw_exception_zstr()
827 object_init_ex(&ex, exception_ce); in zend_throw_exception_zstr()
831 zend_update_property_ex(exception_ce, Z_OBJ(ex), ZSTR_KNOWN(ZEND_STR_MESSAGE), &tmp); in zend_throw_exception_zstr()
835 zend_update_property_ex(exception_ce, Z_OBJ(ex), ZSTR_KNOWN(ZEND_STR_CODE), &tmp); in zend_throw_exception_zstr()
844 ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *me… in zend_throw_exception() argument
847 zend_object *ex = zend_throw_exception_zstr(exception_ce, msg_str, code); in zend_throw_exception()
855 ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long c… in zend_throw_exception_ex() argument
864 obj = zend_throw_exception(exception_ce, message, code); in zend_throw_exception_ex()
870 ZEND_API ZEND_COLD zend_object *zend_throw_error_exception(zend_class_entry *exception_ce, zend_str… in zend_throw_error_exception() argument
872 zend_object *obj = zend_throw_exception_zstr(exception_ce, message, code); in zend_throw_error_exception()
873 if (exception_ce && instanceof_function(exception_ce, zend_ce_error_exception)) { in zend_throw_error_exception()
993 zend_class_entry *exception_ce = Z_OBJCE_P(exception); in zend_throw_exception_object() local
995 if (!exception_ce || !instanceof_function(exception_ce, zend_ce_throwable)) { in zend_throw_exception_object()