* Wait, the input has a lot of ` ` and `"`. I should keep them. * `exceptionHandler - 捕捉されなかった例外のためのハンドラ関数` -> `exceptionHandler - Handler function for uncaught exceptions` * `捕捉されなかった例外のためのハンドラ関数` -> `Handler function for uncaught exceptions` * `Systemクラスのプロパティ (読み書き可能)` -> `Property of the System class (read/write)` * `捕捉されなかった例外 (どこにも捕捉されずに吉里吉里本体に渡された例外) を処理する関数を表します。` -> `Represents a function that handles uncaught exceptions (exceptions that were not caught anywhere and were passed to the KiriKiri core).` * `null を指定すると、デフォルトの動作になります。` -> `If null is specified, the default behavior occurs.` * `デフォルトの動作とは、` -> `The default behavior is:` * `非同期イベントの配信を停止する (System.eventDisabled を 真 に設定)` -> `Stop delivery of asynchronous events (set System.eventDisabled to true)` * `ログをファイルに出力開始する (Debug.logAsError を呼ぶ)` -> `Start outputting logs to a file (call Debug.logAsError)` * `エラーを通知するダイアログボックスを表示し、スクリプトエディタでその箇所を示す` -> `Display a dialog box notifying the error and show the location in the script editor` * `ハンドラ関数は引数を一つ取り、それが例外オブジェクトになります。` -> `The handler function takes one argument, which is the exception object.` * `ハンドラ関数が指定されないか、あるいはハンドラ関数が null であるか、あるいはハンドラ関数が偽を返すと、デフォルトの動作が行われます。` -> `If no handler function is specified, or if the handler function is null, or if the handler function returns false, the default behavior is performed.` * `ハンドラ関数が真を返すと上記のデフォルトの動作は行われません。` -> `If the handler function returns true, the default behavior above is not performed.` * `ハンドラ関数を実行中に非同期イベントが発生する可能性を考慮してください。吉里吉里本体が非同期イベントを処理できてしまうと、例外ハンドラを実行中に再び予期せぬ例外が発生する可能性があります。これを避けるため、通常、ハンドラ関数内でなにかを待つような処理をする場合 (吉里吉里が非同期イベントを処理する機会がある場合 )、非同期イベントの発生を停止させます。` -> `Consider the possibility of asynchronous events occurring while the handler function is executing. If the KiriKiri core can process asynchronous events, another unexpected exception might occur while the exception handler is running. To avoid this, normally, if you perform processing that waits for something within the handler function (where KiriKiri has a chance to process asynchronous events), you should stop the occurrence of asynchronous events.` * `// どこにも捕捉されない例外がシステム側で捕捉された場合、この関数が` -> `// This function is called when an exception not caught anywhere else` * `// 呼ばれる。e は例外オブジェクト。` -> `// is caught by the system. e is the exception object.` * `// コンダクタの投げた例外の場合` -> `// In case of an exception thrown by the conductor` * `// ログのファイルへの書き出し動作の開始など` -> `// Start writing logs to a file, etc.` * `// エラーの理由を表示させている間にイベントが発生すると` -> `// If an event occurs while displaying the reason for the error,` * `// やっかいなのでいったんイベント発生を停止させる` -> `// it can be troublesome, so temporarily stop event occurrence.` * `// イベントを発生するかどうかを元の状態に` -> `// Restore the event occurrence state to its original value.` * `// true を返すと本体側で例外の処理は行わなくなる` -> `// Returning true prevents the core from performing exception handling.` * `// false を返すと通常の例外処理` -> `// Returning false performs normal exception handling.` * `参照` -> `See Also` * `Systemクラス` -> `System class` * `真` -> `true` * `偽` -> `false` * `吉里吉里` -> `KiriKiri` * `非同期イベント` -> `asynchronous events` * `配信` -> `delivery` * `停止` -> `stop` * `ダイアログボックス` -> `dialog box` * `スクリプトエディタ` -> `script editor` * `箇所` -> `location` * `引数` -> `argument` * `例外オブジェクト` -> `exception object` * `予期せぬ例外` -> `unexpected exception` * `避ける` -> `avoid` * `待つ` -> `wait` * `機会` -> `chance` * `発生` -> `occurrence` * `元の状態` -> `original state` * `本体側` -> `core` * `通常の例外処理` -> `normal exception handling` * `ConductorException` -> Keep. * `Debug.logAsError` -> Keep. * `System.inform` -> Keep. * `System.eventDisabled` -> Keep. * `System.exceptionHandler` -> Keep. * `e.message` -> Keep. * `instanceof` -> Keep. * `function (e)` -> Keep. * `var event_disabled` -> Keep. * `true` -> Keep. * `false` -> Keep. * `return` -> Keep. * `if` -> Keep. * `else` -> Keep. * `null` -> Keep. * `bq` -> Keep. * `weak` -> Keep. * `fheader` -> Keep. * `para` -> Keep. * `jump` -> Keep. * `f_System.html` -> Keep. * `f_System_eventDisabled.html` -> Keep. * `f_Debug_logAsError.html` -> Keep. * `documentid.js` -> Keep. * `postcontent.js` -> Keep. * `funcref.css` -> Keep. * `mailto:dee@kikyou.info` -> Keep. * `W.Dee` -> Keep. * `UTF-8` -> Keep. * `XHTML 1.0 Transitional` -> Keep. * `to_html.pl` -> Keep. * `f_System.xml` -> Keep. * `ja` -> Keep. * `Content-Type` -> Keep. * `Content-Style-Type` -> Keep. * `Content-Script-Type` -> Keep. * `text/html` -> Keep. * `text/css` -> Keep. * `text/javascript` -> Keep. * `stylesheet` -> Keep. * `rev="Made"` -> Keep. * `target="_top"` -> Keep. * `rel="Start"` -> Keep. * `rel="Parent"` -> Keep. * `id="top"` -> Keep. * `name="top"` -> Keep. * `class="fheader"` -> Keep. * `class="para"` -> Keep. * `class="jump"` -> Keep. * `class="bq"` -> Keep. * `class="weak"` -> Keep. * `charset="UTF-8"` -> Keep. * `src="documentid.js"` -> Keep. * `src="postcontent.js"` -> Keep. * `href="funcref.css"` -> Keep. * `href="mailto:dee@kikyou.info"` -> Keep. * `href="index.html"` -> Keep. * `href="f_System.html"` -> Keep. * `href="f_System_eventDisabled.html"` -> Keep. * `href="f_Debug_logAsError.html"` -> Keep. * `http-equiv` -> Keep. * `content` -> Keep. * `name` -> Keep. * `title` -> Keep. * `lang` -> Keep. * `xml:lang` -> Keep. * `xmlns` -> Keep. * `PUBLIC` -> Keep. * `DOCTYPE` -> Keep. * `html` -> Keep. * `head` -> Keep. * `body` -> Keep. * `h1` -> Keep. * `div` -> Keep. * `dl` -> Keep. * `dt` -> Keep. * `dd` -> Keep. * `ol` -> Keep. * `li` -> Keep. * `code` -> Keep. * `span` -> Keep. * `a` -> Keep. * `script` -> Keep. * `meta` -> Keep. * `link` -> Keep. * `br` -> Keep. * ` ` -> Keep. * `"` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep. * ` ` -> Keep.