{"json_modified": "2018-10-05T06:24:56.991975", "uuid": "e0bf489b-cc45-4376-950f-4f1c10d435a2", "title": "throw", "url": "/it/docs/Web/JavaScript/Reference/Statements/throw", "tags": ["JavaScript", "Statement"], "translations": [{"uuid": "fdf18a37-8e7a-4779-97f2-a012cacee6d4", "title": "throw", "url": "/en-US/docs/Web/JavaScript/Reference/Statements/throw", "tags": ["Statement", "JavaScript"], "summary": "The <strong><code>throw</code> statement</strong> throws a user-defined exception. Execution of the current function will stop (the statements after <code>throw</code> won't be executed), and control will be passed to the first <a href=\"/en-US/docs/Web/JavaScript/Reference/Statements/try...catch\"><code>catch</code></a> block in the call stack. If no <code>catch</code> block exists among caller functions, the program will terminate.", "localization_tags": [], "locale": "en-US", "last_edit": "2018-07-30T15:21:46.755401", "review_tags": []}, {"uuid": "1adc006c-4960-4a0b-9c8a-a3b2e56a004c", "title": "throw", "url": "/ca/docs/Web/JavaScript/Referencia/Sentencies/throw", "tags": [], "summary": "La <strong>sent\u00e8ncia <code>throw</code> </strong>llen\u00e7a una excepci\u00f3 definida per l'usuari. L'execuci\u00f3 de la funci\u00f3 actual s'aturar\u00e0 (les sent\u00e8ncies de despr\u00e9s de <code>throw</code> no s'executaran) i es passar\u00e0 el control al primer bloc <a href=\"/en-US/docs/Web/JavaScript/Reference/Statements/try...catch\"><code>catch</code></a> en la pila de crides. Si no existeix cap bloc <code>catch</code> en les funcions de crides, el programa s'acabar\u00e0.", "localization_tags": [], "locale": "ca", "last_edit": "2015-09-27T05:34:53", "review_tags": ["editorial"]}, {"uuid": "603c336a-8343-4e96-951f-67c67cac7d1a", "title": "throw", "url": "/de/docs/Web/JavaScript/Reference/Statements/throw", "tags": ["Ausnahmen", "throw", "JavaScript", "exceptions"], "summary": "Die\u00a0<strong><code>throw</code>\u00a0Anweisung</strong>\u00a0\"wirft\" eine benutzerdefinierte\u00a0Exception (Ausnahme). Die Programmausf\u00fchrung der aktuellen Funktion bzw. des globalen Codes wird angehalten\u00a0(Anweisungen nach <code>throw</code> werden dann nicht mehr ausgef\u00fchrt), und die Programmausf\u00fchrung wird an den\u00a0n\u00e4chsth\u00f6heren\u00a0<a href=\"/en-US/docs/Web/JavaScript/Reference/Statements/try...catch\"><code>catch</code></a>\u00a0Block in der Ausf\u00fchrungshierarchie \u00fcbergeben. Falls in der gesamten Ausf\u00fchrungschierarchie kein\u00a0<code>catch</code>\u00a0Block definiert wurde, wird das Programm komplett angehalten.", "localization_tags": [], "locale": "de", "last_edit": "2016-03-06T12:02:56", "review_tags": []}, {"uuid": "d04d7184-809b-43e1-980c-239037605383", "title": "throw", "url": "/es/docs/Web/JavaScript/Referencia/Sentencias/throw", "tags": ["Statement", "JavaScript"], "summary": "Lanza una excepcion definida por el usuario.", "localization_tags": [], "locale": "es", "last_edit": "2016-06-28T05:52:00", "review_tags": []}, {"uuid": "75edec33-8079-43cd-aef6-b4abc00a550d", "title": "throw", "url": "/fr/docs/Web/JavaScript/Reference/Instructions/throw", "tags": ["Reference", "Statement", "Exception", "JavaScript"], "summary": "L'instruction <strong><code>throw</code></strong> permet de lever une exception d\u00e9finie par l'utilisateur. L'ex\u00e9cution de la fonction courante sera stop\u00e9e (les instructions situ\u00e9es apr\u00e8s l'instruction <code>throw</code> ne seront pas ex\u00e9cut\u00e9es) et le contr\u00f4le sera pass\u00e9 au premier bloc <a href=\"/fr/docs/Web/JavaScript/Reference/Instructions/try...catch\" title=\"L'instruction try...catch regroupe des instructions \u00e0 ex\u00e9cuter et d\u00e9finit une r\u00e9ponse si l'une de ces instructions provoque une exception.\"><code>catch</code></a> de la pile d'appels. Si aucun bloc <code>catch</code> ne se trouve dans les fonctions de la pile d'appels, le programme sera termin\u00e9.", "localization_tags": [], "locale": "fr", "last_edit": "2018-07-31T03:56:11.639703", "review_tags": []}, {"uuid": "fd6499d3-b095-435a-86c1-b1e3d41fb1a4", "title": "throw", "url": "/ja/docs/Web/JavaScript/Reference/Statements/throw", "tags": [], "summary": "<strong><code>throw</code> \u6587</strong>\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u306e\u4f8b\u5916\u3092\u6295\u3052\u307e\u3059\u3002\u73fe\u5728\u306e\u95a2\u6570\u306e\u5b9f\u884c\u3092\u6b62\u3081\u3066 (<code>throw</code> \u306e\u5f8c\u306e\u6587\u306f\u5b9f\u884c\u3057\u307e\u305b\u3093)\u3001\u30b3\u30fc\u30eb\u30b9\u30bf\u30c3\u30af\u5185\u306e\u6700\u521d\u306e <a href=\"/ja/docs/Web/JavaScript/Reference/Statements/try...catch\"><code>catch</code></a> \u30d6\u30ed\u30c3\u30af\u306b\u5236\u5fa1\u3092\u79fb\u3057\u307e\u3059\u3002\u547c\u3073\u51fa\u3057\u5143\u306e\u95a2\u6570\u306b <code>catch</code> \u30d6\u30ed\u30c3\u30af\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u7d42\u4e86\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-05-22T05:14:23", "review_tags": []}, {"uuid": "e513d255-fb55-4cee-af7a-bf9dc804aa5e", "title": "throw", "url": "/ko/docs/Web/JavaScript/Reference/Statements/throw", "tags": [], "summary": "<strong><code>throw</code> </strong>\ubb38\uc740 \uc0ac\uc6a9\uc790 \uc815\uc758 \uc608\uc678\ub97c \ub358\uc9c8 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud604\uc7ac \ud568\uc218\uc758 \uc2e4\ud589\uc774 \uc911\uc9c0\ub418\uace0 (<code>throw</code> \uc774\ud6c4\uc758 \uba85\ub839\ubb38\uc740 \uc2e4\ud589\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.), \ucee8\ud2b8\ub864\uc740 \ucf5c \uc2a4\ud0dd\uc758 \uccab \ubc88\uc9f8 <a href=\"/en-US/docs/Web/JavaScript/Reference/Statements/try...catch\"><code>catch</code></a> \ube14\ub85d\uc73c\ub85c \uc804\ub2ec\ub429\ub2c8\ub2e4. \ud638\ucd9c\uc790 \ud568\uc218 \uc0ac\uc774\uc5d0 <code>catch</code> \ube14\ub85d\uc774 \uc5c6\uc73c\uba74 \ud504\ub85c\uadf8\ub7a8\uc774 \uc885\ub8cc\ub429\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2018-04-26T00:10:24.811945", "review_tags": []}, {"uuid": "1f613600-5ca8-4f54-93bd-7e2fcfd1e871", "title": "throw", "url": "/pl/docs/Web/JavaScript/Referencje/Polecenia/throw", "tags": ["Dokumentacja_JavaScript", "JavaScript", "Dokumentacje", "Strony_wymagaj\u0105ce_dopracowania", "Wszystkie_kategorie"], "summary": "The <strong><code>throw</code> statement</strong> throws a user-defined exception. Execution of the current function will stop (the statements after <code>throw</code> won't be executed), and control will be passed to the first <a href=\"/en-US/docs/Web/JavaScript/Reference/Statements/try...catch\"><code>catch</code></a> block in the call stack. If no <code>catch</code> block exists among caller functions, the program will terminate.", "localization_tags": ["inprogress"], "locale": "pl", "last_edit": "2018-02-08T11:38:02.683369", "review_tags": []}, {"uuid": "917b3c1b-b493-4c00-b42f-9bac56185fe4", "title": "throw", "url": "/pt-BR/docs/Web/JavaScript/Reference/Statements/throw", "tags": ["Instru\u00e7\u00e3o", "JavaScript"], "summary": "A <strong>declara\u00e7\u00e3o</strong>\u00a0<strong><code>throw</code> </strong>lan\u00e7a uma exce\u00e7\u00e3o definida pelo usu\u00e1rio. A execu\u00e7\u00e3o da fun\u00e7\u00e3o atual vai parar (as instru\u00e7\u00f5es ap\u00f3s o\u00a0<code>throw</code>\u00a0n\u00e3o ser\u00e3o executadas), e o controle ser\u00e1 passado para o primeiro bloco <a href=\"/en-US/docs/Web/JavaScript/Reference/Statements/try...catch\"><code>catch</code></a> na pilha de chamadas. Se nenhum bloco <code>catch</code>\u00a0existe entre as fun\u00e7\u00f5es \"chamadoras\", o programa vai terminar.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2016-08-10T11:17:58", "review_tags": []}, {"uuid": "50cfe156-6cf4-441e-98af-a0938ee5391d", "title": "throw", "url": "/pt-PT/docs/Web/JavaScript/Reference/Extratos_e_declara%C3%A7%C3%B5es/throw", "tags": ["JavaScript", "Comando", "Declara\u00e7\u00e3o"], "summary": "A <strong>declara\u00e7\u00e3o <code>throw</code> </strong>lan\u00e7a uma exe\u00e7\u00e3o definida pelo utilizador. A execu\u00e7\u00e3o da fun\u00e7\u00e3o atual ir\u00e1 parar (os comandos depois de <code>throw</code> n\u00e3o ser\u00e3o executados), <span lang=\"pt\" id=\"result_box\"><span>e o controle ser\u00e1 passado para o primeiro bloco <code><a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch\">catch</a></code> no conjunto de chamadas. Se n\u00e3o existir nenhum bloco <code>catch</code> entre as fun\u00e7\u00f5es de <em>caller</em>, o programa ir\u00e1 terminar.</span></span>", "localization_tags": ["inprogress"], "locale": "pt-PT", "last_edit": "2017-12-01T12:19:50.575217", "review_tags": []}, {"uuid": "96da6ba0-7dcc-4eba-a9ef-e634f6295d5c", "title": "throw", "url": "/ru/docs/Web/JavaScript/Reference/Statements/throw", "tags": ["Statement", "JavaScript"], "summary": "<strong>\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f <code>throw</code></strong> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u00a0\u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c\u044b\u0435\u00a0\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e (\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e\u0441\u043b\u0435 <code>throw</code> \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u044b), \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043e \u0432 \u043f\u0435\u0440\u0432\u044b\u0439\u00a0\u0431\u043b\u043e\u043a\u00a0<a href=\"/en-US/docs/Web/JavaScript/Reference/Statements/try...catch\"><code>catch</code></a>\u00a0\u0432 \u0441\u0442\u0435\u043a\u0435 \u0432\u044b\u0437\u043e\u0432\u043e\u0432. \u0415\u0441\u043b\u0438 <code>catch</code> \u0431\u043b\u043e\u043a\u043e\u0432 \u0441\u0440\u0435\u0434\u0438 \u0432\u044b\u0437\u0432\u0430\u043d\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043d\u0435\u0442, \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0431\u0443\u0434\u0435\u0442 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e.", "localization_tags": [], "locale": "ru", "last_edit": "2017-09-28T08:25:47.034965", "review_tags": ["editorial"]}, {"uuid": "b82e0a05-442c-496a-97a4-ca734e47ed24", "title": "throw", "url": "/vi/docs/Web/JavaScript/Reference/Statements/throw", "tags": [], "summary": "C\u00e2u l\u1ec7nh\u00a0<strong><code>throw</code>\u00a0</strong>\u00a0s\u1ebd \u0111\u01b0a ra m\u1ed9t\u00a0exception theo c\u00e1ch ch\u00fang ta \u0111\u1ecbnh ngh\u0129a. C\u00e1c c\u00e2u l\u1ec7nh ph\u00eda sau <code>throw</code> s\u1ebd kh\u00f4ng \u0111\u01b0\u1ee3c ch\u1ea1y, v\u00e0 s\u1ebd g\u1ecdi h\u00e0m callback\u00a0<a href=\"/en-US/docs/Web/JavaScript/Reference/Statements/try...catch\"><code>catch</code></a>\u00a0\u0111\u1ea7u ti\u00ean t\u00ecm th\u1ea5y. N\u1ebfu kh\u00f4ng c\u00f3 h\u00e0m\u00a0<code>catch</code>, ch\u01b0\u01a1ng tr\u00ecnh s\u1ebd kh\u00f4ng ch\u1ea1y n\u1eefa.", "localization_tags": ["inprogress"], "locale": "vi", "last_edit": "2018-09-17T01:59:56.748592", "review_tags": []}, {"uuid": "e96dff22-ce81-4f22-bbe4-0f83ed5ab683", "title": "throw", "url": "/zh-CN/docs/Web/JavaScript/Reference/Statements/throw", "tags": ["Statement", "JavaScript"], "summary": "<strong><code>throw</code>\u8bed\u53e5</strong>\u7528\u6765\u629b\u51fa\u4e00\u4e2a\u7528\u6237\u81ea\u5b9a\u4e49\u7684\u5f02\u5e38\u3002\u5f53\u524d\u51fd\u6570\u7684\u6267\u884c\u5c06\u88ab\u505c\u6b62\uff08<code>throw</code>\u4e4b\u540e\u7684\u8bed\u53e5\u5c06\u4e0d\u4f1a\u6267\u884c\uff09\uff0c\u5e76\u4e14\u63a7\u5236\u5c06\u88ab\u4f20\u9012\u5230\u8c03\u7528\u5806\u6808\u4e2d\u7684\u7b2c\u4e00\u4e2a<a href=\"/zh-CN/docs/Web/JavaScript/Reference/Statements/try...catch\"><code>catch</code></a>\u5757\u3002\u5982\u679c\u8c03\u7528\u8005\u51fd\u6570\u4e2d\u6ca1\u6709<code>catch</code>\u5757\uff0c\u7a0b\u5e8f\u5c06\u4f1a\u7ec8\u6b62\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2018-04-02T02:16:40.003499", "review_tags": []}, {"uuid": "2709ee24-9d80-4f04-a857-1e01fb9dba48", "title": "throw", "url": "/zh-TW/docs/Web/JavaScript/Reference/Statements/throw", "tags": [], "summary": "The <strong><code>throw</code> statement</strong> throws a user-defined exception. Execution of the current function will stop (the statements after <code>throw</code> won't be executed), and control will be passed to the first <a href=\"/en-US/docs/Web/JavaScript/Reference/Statements/try...catch\"><code>catch</code></a> block in the call stack. If no <code>catch</code> block exists among caller functions, the program will terminate.", "localization_tags": ["inprogress"], "locale": "zh-TW", "last_edit": "2017-02-12T18:59:29.220538", "review_tags": []}], "modified": "2018-10-05T06:23:54.118948", "label": "throw", "localization_tags": ["inprogress"], "locale": "it", "id": 227981, "last_edit": "2018-02-27T08:44:04.789992", "summary": "L'istruzione\u00a0<strong><code>throw</code> </strong>chiama un'eccezione definita dall'utente. L'esecuzione della funzione corrente si interrompe (ovvero i comandi successivi a\u00a0<code>throw</code> non verranno eseguiti), e il controllo verr\u00e0 passato al primo blocco\u00a0<a href=\"/en-US/docs/Web/JavaScript/Reference/Statements/try...catch\"><code>catch</code></a> nella pila delle chiamate. Se non \u00e8 previsto nessun blocco\u00a0<code>catch</code> esiste nella funzione chiamante, il programma verr\u00e0 terminato.", "sections": [{"id": "Quick_Links", "title": "\n "}, {"id": "Sintassi", "title": "Sintassi"}, {"id": "Descrizione", "title": "Descrizione"}, {"id": "Esempi", "title": "Esempi"}, {"id": "Chiama_un_oggetto", "title": "Chiama un oggetto"}, {"id": "Un_altro_esempio_di_chiamata_ad_un_oggetto", "title": "Un altro esempio di chiamata ad un oggetto"}, {"id": "Richiamare_un'eccezione", "title": "Richiamare un'eccezione"}, {"id": "Specifiche", "title": "Specifiche"}, {"id": "Compatibilit\u00e0_dei_browser", "title": "Compatibilit\u00e0 dei browser"}, {"id": "sect1", "title": null}, {"id": "Legend", "title": "Legend"}, {"id": "Vedi_anche", "title": "Vedi anche"}], "slug": "Web/JavaScript/Reference/Statements/throw", "review_tags": []}