Lines Matching refs:exception_ce
820 static zend_object *zend_throw_exception_zstr(zend_class_entry *exception_ce, zend_string *message,… in zend_throw_exception_zstr() argument
824 if (!exception_ce) { in zend_throw_exception_zstr()
825 exception_ce = zend_ce_exception; in zend_throw_exception_zstr()
828 ZEND_ASSERT(instanceof_function(exception_ce, zend_ce_throwable) in zend_throw_exception_zstr()
831 object_init_ex(&ex, exception_ce); in zend_throw_exception_zstr()
835 zend_update_property_ex(exception_ce, Z_OBJ(ex), ZSTR_KNOWN(ZEND_STR_MESSAGE), &tmp); in zend_throw_exception_zstr()
839 zend_update_property_ex(exception_ce, Z_OBJ(ex), ZSTR_KNOWN(ZEND_STR_CODE), &tmp); in zend_throw_exception_zstr()
848 ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *me… in zend_throw_exception() argument
851 zend_object *ex = zend_throw_exception_zstr(exception_ce, msg_str, code); in zend_throw_exception()
859 ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long c… in zend_throw_exception_ex() argument
867 obj = zend_throw_exception_zstr(exception_ce, msg_str, code); in zend_throw_exception_ex()
873 ZEND_API ZEND_COLD zend_object *zend_throw_error_exception(zend_class_entry *exception_ce, zend_str… in zend_throw_error_exception() argument
875 zend_object *obj = zend_throw_exception_zstr(exception_ce, message, code); in zend_throw_error_exception()
876 if (exception_ce && instanceof_function(exception_ce, zend_ce_error_exception)) { in zend_throw_error_exception()
996 zend_class_entry *exception_ce = Z_OBJCE_P(exception); in zend_throw_exception_object() local
998 if (!exception_ce || !instanceof_function(exception_ce, zend_ce_throwable)) { in zend_throw_exception_object()