Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
バッチ スクリプトをテストして、コンパイルされた jar の実行時にエラーが処理されていることを確認しています。
実行時エラーを発生させるために Java に追加できるコードの最も単純なスニペットは何ですか?
for (int i=0; i<1; i++){ int x = 10/i; // Arithmetic exception }