例外を発生させる Meaning in English - translations and usage examples

Examples of using 例外を発生させる in Japanese and their translations into English

{-}
  • Colloquial category close
  • Ecclesiastic category close
  • Computer category close
  • Programming category close
メソッド、およびlibfunが例外を発生させる可能性があることを指示します。
Marks a method or lib fun as potentially raising an exception.
この動作は、以下のコードが(旧スタイルクラスの同等な例と異なり)例外を発生させる理由です。
That behaviour is the reason why the following code raises an exception(unlike the equivalent example with old-style classes).
Trapsは特定のエラー状態に出会った場合に何が起こるべきかを指定する辞書です:例外を発生させるか値を返すかどちらかです。
Traps is a dictionary specifying what happens on encountering certain error conditions: either an exception is raised or a value is returned.
これを実際に見てみるために、failureアクションを一時的に修正して、例外を発生させる代わりにエンジンのrootURLにリダイレクトします。
To demonstrate this we will temporarily change our failure action so that instead of raising an exception it redirects to the engine's root URL.
値を返すのではなく、スタブメソッドで例外を発生させることもできます。例11.7に、throwException()でこれを行う方法を示します。
Instead of returning a value, a stubbed method can also raise an exception. Example 11.7 shows how to use throwException() to do this.
今度は、相違があった際に例外を発生させる関数を用意して、期待値と実際の値を比較する処理を抽出してみましょう(例1.4)。これには2つの利点があります。
We now factor out the comparison of expected and actual values into a function that raises an Exception when there is a discrepancy(Example 1.4.
Undefの場合と同じですが、例外を発生させません。
The same as for the undef value, but no exception is raised.
例外を発生させずに非文字列のキーは単純に無視されます。
Rather than raising an exception, the non-string key is simply.
Ifcompartmentsexecutessuchserviceprocessiscollectingevidenceofexecution,itcanbecomparedwiththepredictedevidenceofthisevidence.満足のいく一致が無い場合、サービスプロセスの実行を終了し例外を発生させることができる。
If a compartment is running such a service process and collecting evidence of execution, this evidence can be compared with the predicted evidence- if there is not a satisfactory match,execution of the service process could be terminated and an exception generated.
この非クリティカルサービスは、Hystrixフォールトトレランスライブラリ経由でダウンストリームサービスから呼び出されるもので、ユニットテストおよびレグレッションテスト済みのフォールバックを備えているが、テストされていないデータセットは一部のユーザアカウントにおいて例外を発生させ、それがコールスタックを上昇し、最終的には重要なAPIサービスに障害を発生させる
Although this non-critical service was called from a downstream service via the Hystrix fault tolerance library, and included a unit- and regression-tested fallback, an untested data set caused an exception to be thrown for a subset of user account, which bubbled up through the call stack and ultimately caused the critical API service to fail.
値を返すのではなく、スタブメソッドで例外を発生させることもできます。
Instead of returning a value, a stubbed method can also raise an.
Raiseキーワードを使用して、特定の例外を強制的に発生させることができます。
You can force a specific exception to occur by using raise keyword.
手動でPythonで例外を発生させる(投げる。
Manually raising(throwing) an exception in Python.
ファイルの末尾に到達したら、そのファイルを閉じて魔法のStopIteration例外を発生さなければならない。
When we reach the end of the file, we should close the file and raise the magic StopIteration exception.
R0またはr1のいずれかが負であれば、INDEX_SIZE_ERR例外を発生さなければいけません。
If either of r0 or r1 are negative, an INDEX_SIZE_ERR exception must be raised.
描画元の矩形がソースのイメージの中に完全に収まらない、または、swまたはsh引数のいずれかが0なら、INDEX_SIZE_ERR例外を発生さなければいけません。
If the source rectangle is not entirely within the source image, or if one of the sw or sh arguments is zero, the implementation must raise an INDEX_SIZE_ERR exception.
Tskidのタスクに対してtexcdのタスク例外を発生させる。
Raises the task exception specified in texcd for the task specified in tskid.
例外を発生させるにはトップレベルのraiseメソッドを使います。
You raise exceptions by invoking a top-level raise method.
Rails:なぜfind(id)がレールで例外を発生させるのですか?
Rails: Why does find(id) raise an exception in rails?
次のリクエストでわざと例外を発生させます。
Force the next request to fail with an exception.
クエリパーサは、二種類の例外を発生させます。
The query parser may generate two types of exceptions.
例外の説明と例外を発生させたスタックトレースをすべて取得する。
Get exception description and stack trace which caused an exception, all as a string.
さらに、例外を発生させてキャッチする方法を学習します。
Further, you will learn to raise and catch exceptions.
Ozでは、自動的な型の変換は無いので、5.0=5は例外を発生させるでしょう。
In Oz, there is no automatic type conversion, so 5.0= 5 will raise an exception.
新しいURLは現在のURLとsameoriginでなければなりません。でなければpushState()例外を発生させるでしょう。
The new URL must be of the same origin as the current URL; otherwise, pushState()will throw an exception.
Pow(2.0,8.0,7.0)のような呼び出しは、TypeError例外を発生させるようにしました。
A call such as pow(2.0, 8.0, 7.0) will now raise a TypeError exception.
Vimのエラーに遭遇したとき、Pythonは型vim.errorの例外を発生させます。
Upon encountering a Vim error, Python raises an exception of type.
Python内でSystemExit例外を発生させてもVimは終了しない。次のようにする。
Raising SystemExit exception in python isn't endorsed way to quit vim.
Imageがnullだった場合は、TYPE_MISMATCH_ERR例外を発生させなければいけません。
If the image is of the wrong type, the implementation must raise a TYPE_MISMATCH_ERR exception.
Perlは、まず"nomethod"の実行を試みて、これがなければ、例外を発生させます。
Perl tries to call''nomethod'' value, and if this is missing, raises an exception.
Results: 80, Time: 0.0254

Top dictionary queries

Japanese - English