{"json_modified": "2016-02-16T04:06:50.386457", "slug": "Web/JavaScript/Reference/Instructions/throw", "tags": ["R\u00e9f\u00e9rence", "Reference", "Statement", "Exception", "JavaScript"], "locale": "fr", "title": "throw", "translations": [{"title": "throw", "url": "/en-US/docs/Web/JavaScript/Reference/Statements/throw", "tags": ["Statement", "JavaScript"], "summary": "The throw statement throws a user-defined exception. Execution of the current function will stop (the statements after throw won't be executed), and control will be passed to the first catch block in the call stack. If no catch block exists among caller functions, the program will terminate.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-11-04T14:31:50", "review_tags": []}, {"title": "throw", "url": "/pl/docs/Web/JavaScript/Referencje/Polecenia/throw", "tags": ["Dokumentacja_JavaScript", "JavaScript", "Dokumentacje", "Strony_wymagaj\u0105ce_dopracowania", "Wszystkie_kategorie"], "summary": "Rzuca wyj\u0105tek zdefiniowany przez u\u017cytkownika.", "localization_tags": [], "locale": "pl", "last_edit": "2014-05-31T00:08:18", "review_tags": []}, {"title": "throw", "url": "/ja/docs/Web/JavaScript/Reference/Statements/throw", "tags": [], "summary": "\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u306e\u4f8b\u5916\u3092\u6295\u3052\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-17T01:17:18", "review_tags": []}, {"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": "2014-11-19T12:02:29", "review_tags": []}, {"title": "throw", "url": "/zh-CN/docs/Web/JavaScript/Reference/Statements/throw", "tags": ["Statement", "\u6d41\u7a0b\u63a7\u5236", "JavaScript"], "summary": "throw \u8bed\u53e5\u7528\u6765\u629b\u51fa\u7528\u6237\u81ea\u5b9a\u4e49\u5f02\u5e38\u3002\u5f53\u524d\u51fd\u6570\u7684\u6267\u884c\u5c06\u4f1a\u88ab\u4e2d\u6b62\uff08throw\u4e4b\u540e\u7684\u8bed\u53e5\u5c06\u4f1a\u5f97\u4e0d\u5230\u6267\u884c\uff09\uff0c\u63a5\u7740\u6267\u884c\u6d41\u7a0b\u4f1a\u8f6c\u79fb\u5230\u7b2c\u4e00\u4e2a\u00a0catch\u00a0\u8bed\u53e5\u5757\u3002\u5982\u679c\u5728\u8c03\u7528\u65b9\u51fd\u6570\u4e2d\u6ca1\u6709\u4efb\u4f55catch\u8bed\u53e5\u5757\uff0c\u90a3\u4e48\u7a0b\u5e8f\u5c06\u4f1a\u88ab\u4e2d\u6b62\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-05-22T10:12:42", "review_tags": []}, {"title": "throw", "url": "/ru/docs/Web/JavaScript/Reference/Statements/throw", "tags": [], "summary": "The throw statement throws a user-defined exception. Execution of the current function will stop (the statements after throw won't be executed), and control will be passed to the first catch block in the call stack. If no catch block exists among caller functions, the program will terminate.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2014-11-19T12:07:18", "review_tags": []}, {"title": "throw", "url": "/ca/docs/Web/JavaScript/Referencia/Sentencies/throw", "tags": [], "summary": "La sent\u00e8ncia throw 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 throw no s'executaran) i es passar\u00e0 el control al primer bloc catch en la pila de crides. Si no existeix cap bloc catch en les funcions de crides, el programa s'acabar\u00e0.", "localization_tags": [], "locale": "ca", "last_edit": "2015-09-27T05:34:53", "review_tags": ["editorial"]}], "modified": "2016-02-16T04:05:50", "label": "throw", "localization_tags": [], "url": "/fr/docs/Web/JavaScript/Reference/Instructions/throw", "last_edit": "2016-02-16T04:05:44", "summary": "L'instruction throw 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 throw ne seront pas ex\u00e9cut\u00e9es) et le contr\u00f4le sera pass\u00e9 au premier bloc catch de la pile d'appels. Si aucun bloc catch ne se trouve dans les fonctions de la pile d'appels, le programme sera termin\u00e9.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntaxe", "title": "Syntaxe"}, {"id": "Description", "title": "Description"}, {"id": "Exemples", "title": "Exemples"}, {"id": "Lever_une_exception_qui_est_un_objet", "title": "Lever une exception qui est un objet"}, {"id": "Deuxi\u00e8me_exemple_avec_un_objet", "title": "Deuxi\u00e8me exemple avec un objet"}, {"id": "Propager_une_exception", "title": "Propager une exception"}, {"id": "Sp\u00e9cifications", "title": "Sp\u00e9cifications"}, {"id": "Compatibilit\u00e9_des_navigateurs", "title": "Compatibilit\u00e9 des navigateurs"}, {"id": "Voir_aussi", "title": "Voir aussi"}], "id": 1191, "review_tags": []}