/php-src/ext/sodium/ |
H A D | libsodium.c | 310 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION() 352 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION() 433 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION() 470 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION() 511 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION() 558 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION() 583 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION() 614 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION() 766 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION() 844 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION() [all …]
|
/php-src/tests/lang/ |
H A D | zend_throw_exception_001.phpt | 2 zend_throw_exception with NULL message
|
/php-src/ext/com_dotnet/ |
H A D | com_misc.c | 36 zend_throw_exception(php_com_exception_class_entry, message, (zend_long)(uint32_t)code); in php_com_throw_exception() 38 zend_throw_exception(php_com_exception_class_entry, message, (zend_long)code); in php_com_throw_exception()
|
/php-src/ext/dom/ |
H A D | domexception.c | 36 zend_throw_exception(dom_domexception_class_entry, error_message, error_code); in php_dom_throw_error_with_message()
|
/php-src/ext/fileinfo/ |
H A D | fileinfo.c | 193 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION() 202 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION() 221 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION() 234 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
|
/php-src/ext/random/ |
H A D | randomizer.c | 223 zend_throw_exception(random_ce_Random_RandomException, "Generated value exceeds size of int", 0); in PHP_METHOD() 539 zend_throw_exception(NULL, "Invalid serialization data for Random\\Randomizer object", 0); in PHP_METHOD() 545 zend_throw_exception(NULL, "Invalid serialization data for Random\\Randomizer object", 0); in PHP_METHOD() 550 zend_throw_exception(NULL, "Invalid serialization data for Random\\Randomizer object", 0); in PHP_METHOD() 556 zend_throw_exception(NULL, "Invalid serialization data for Random\\Randomizer object", 0); in PHP_METHOD()
|
H A D | engine_mt19937.c | 282 zend_throw_exception(random_ce_Random_RandomException, "Failed to generate a random seed", 0); in PHP_METHOD() 334 zend_throw_exception(NULL, "Engine serialize failed", 0); in PHP_METHOD() 396 zend_throw_exception(NULL, "Engine serialize failed", 0); in PHP_METHOD()
|
H A D | engine_pcgoneseq128xslrr64.c | 157 zend_throw_exception(random_ce_Random_RandomException, "Failed to generate a random seed", 0); in PHP_METHOD()
|
H A D | csprng.c | 219 zend_throw_exception(random_ce_Random_RandomException, errstr, 0); in php_random_bytes()
|
/php-src/ext/json/ |
H A D | json.c | 191 zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(error_code), error_code); in php_json_decode_ex() 248 …zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(encoder.error_code), encoder.er… in PHP_FUNCTION() 283 …zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(PHP_JSON_ERROR_SYNTAX), PHP_JSO… in PHP_FUNCTION()
|
/php-src/ext/intl/collator/ |
H A D | collator_create.c | 77 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
|
/php-src/ext/intl/breakiterator/ |
H A D | rulebasedbreakiterator_methods.cpp | 67 zend_throw_exception(IntlException_ce_ptr, in _php_intlrbbi_constructor_body() 89 zend_throw_exception(IntlException_ce_ptr, in _php_intlrbbi_constructor_body()
|
H A D | breakiterator_iterators.cpp | 98 zend_throw_exception(NULL, in _breakiterator_get_iterator() 107 zend_throw_exception(NULL, in _breakiterator_get_iterator()
|
/php-src/ext/spl/ |
H A D | spl_observer.c | 706 zend_throw_exception(spl_ce_RuntimeException, "Called current() on invalid iterator", 0); in PHP_METHOD() 1027 zend_throw_exception(spl_ce_UnexpectedValueException, in PHP_METHOD() 1033 zend_throw_exception(spl_ce_UnexpectedValueException, "Odd number of elements", 0); in PHP_METHOD() 1041 zend_throw_exception(spl_ce_UnexpectedValueException, "Non-object key", 0); in PHP_METHOD() 1139 zend_throw_exception(spl_ce_InvalidArgumentException, "Key duplication error", 0); in PHP_METHOD() 1309 zend_throw_exception(spl_ce_RuntimeException, "Failed to call sub iterator method", 0); in spl_multiple_iterator_get_all() 1314 … zend_throw_exception(spl_ce_RuntimeException, "Called current() with non valid sub iterator", 0); in spl_multiple_iterator_get_all() 1316 zend_throw_exception(spl_ce_RuntimeException, "Called key() with non valid sub iterator", 0); in spl_multiple_iterator_get_all() 1333 … zend_throw_exception(spl_ce_InvalidArgumentException, "Sub-Iterator is associated with NULL", 0); in spl_multiple_iterator_get_all()
|
H A D | spl_heap.c | 608 …zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in spl_heap_consistency_validations() 613 …zend_throw_exception(spl_ce_RuntimeException, "Heap cannot be changed when it is already being mod… in spl_heap_consistency_validations() 659 zend_throw_exception(spl_ce_RuntimeException, "Can't extract from an empty heap", 0); in PHP_METHOD() 724 zend_throw_exception(spl_ce_RuntimeException, "Can't extract from an empty heap", 0); in PHP_METHOD() 752 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty heap", 0); in PHP_METHOD() 773 zend_throw_exception(spl_ce_RuntimeException, "Must specify at least one extract flag", 0); in PHP_METHOD() 862 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty heap", 0); in PHP_METHOD()
|
H A D | spl_dllist.c | 522 zend_throw_exception(spl_ce_RuntimeException, "Can't pop from an empty datastructure", 0); in PHP_METHOD() 541 zend_throw_exception(spl_ce_RuntimeException, "Can't shift from an empty datastructure", 0); in PHP_METHOD() 561 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty datastructure", 0); in PHP_METHOD() 583 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty datastructure", 0); in PHP_METHOD() 634 …zend_throw_exception(spl_ce_RuntimeException, "Iterators' LIFO/FIFO modes for SplStack/SplQueue ob… in PHP_METHOD() 1143 zend_throw_exception(spl_ce_UnexpectedValueException, in PHP_METHOD()
|
/php-src/ext/intl/formatter/ |
H A D | formatter_main.c | 104 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
|
/php-src/ext/intl/common/ |
H A D | common_enum.cpp | 173 zend_throw_exception(NULL, in IntlIterator_get_iterator() 181 zend_throw_exception(NULL, in IntlIterator_get_iterator()
|
/php-src/ext/intl/dateformat/ |
H A D | datepatterngenerator_methods.cpp | 99 zend_throw_exception(IntlException_ce_ptr, ZSTR_VAL(err), intl_error_get_code(NULL)); in PHP_METHOD()
|
H A D | dateformat_create.cpp | 225 zend_throw_exception(IntlException_ce_ptr, ZSTR_VAL(err), intl_error_get_code(NULL)); in PHP_METHOD()
|
/php-src/Zend/ |
H A D | zend_exceptions.h | 63 ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *me…
|
H A D | zend_language_scanner.l | 309 zend_throw_exception(zend_ce_parse_error, "Cannot use \"<?=\" as an identifier", 0); in zend_lex_tstring() 1051 zend_throw_exception(zend_ce_parse_error, in zend_scan_escape_string() 1063 zend_throw_exception(zend_ce_parse_error, in zend_scan_escape_string() 1203 zend_throw_exception(zend_ce_parse_error, in strip_multiline_string_indentation() 1258 zend_throw_exception(zend_ce_parse_error, buf, 0); in report_bad_nesting() 1634 …zend_throw_exception(zend_ce_parse_error, "The (real) cast has been removed, use (float) instead",… in lex_scan() 2057 zend_throw_exception(zend_ce_parse_error, "Invalid numeric literal", 0); 2674 …zend_throw_exception(zend_ce_parse_error, "Invalid indentation - tabs and spaces cannot be mixed",… 2947 …zend_throw_exception(zend_ce_parse_error, "Invalid indentation - tabs and spaces cannot be mixed",… 3071 …zend_throw_exception(zend_ce_parse_error, "Invalid indentation - tabs and spaces cannot be mixed",…
|
H A D | zend_generators.c | 623 …zend_throw_exception(zend_ce_ClosedGeneratorException, "Generator yielded from aborted, no return … in zend_generator_update_current() 889 zend_throw_exception(NULL, "Cannot rewind a generator that was already run", 0); in zend_generator_rewind() 1060 zend_throw_exception(NULL, in ZEND_METHOD() 1192 zend_throw_exception(NULL, "Cannot traverse an already closed generator", 0); in zend_generator_get_iterator() 1197 …zend_throw_exception(NULL, "You can only iterate a generator by-reference if it declared that it y… in zend_generator_get_iterator()
|
/php-src/ext/intl/msgformat/ |
H A D | msgformat.c | 127 zend_throw_exception(IntlException_ce_ptr, ZSTR_VAL(err), intl_error_get_code(NULL)); in PHP_METHOD()
|
/php-src/ext/hash/ |
H A D | hash.c | 1144 zend_throw_exception(zend_ce_error, "Illegal call to private/final constructor", 0); in PHP_METHOD() 1406 zend_throw_exception(zend_ce_value_error, "Cannot clone a finalized HashContext", 0); in php_hashcontext_clone() 1468 zend_throw_exception(NULL, "HashContext with HASH_HMAC option cannot be serialized", 0); in PHP_METHOD() 1515 zend_throw_exception(NULL, "HashContext::__unserialize called on initialized object", 0); in PHP_METHOD() 1530 zend_throw_exception(NULL, "Incomplete or ill-formed serialization data", 0); in PHP_METHOD() 1537 zend_throw_exception(NULL, "HashContext with HASH_HMAC option cannot be serialized", 0); in PHP_METHOD() 1543 zend_throw_exception(NULL, "Unknown hash algorithm", 0); in PHP_METHOD()
|