memrootじしょ
英和翻訳
exceptions
exceptions
/ɪkˈsɛpʃənz/
イクセプションズ
1.
通常の規則や一般原則には当てはまらない、特殊なケースや出来事。
特定の規則や一般原則には当てはまらない、特殊なケースや出来事を指します。
There
are
always
exceptions
to
every
rule.
(どんな規則にも常に例外は存在する。)
There are always
「常に存在する」という状態を表します。
exceptions
「例外」を意味します。
to every rule
「すべての規則に」適用されることを示します。
With
the
exception
of
John,
everyone
arrived
on
time.
(ジョンを除いて、全員時間通りに到着した。)
With the exception of
「~を除いて」という意味の前置詞句です。
John
人名である「ジョン」を指します。
everyone arrived on time
「全員が時間通りに到着した」という事実を表します。
The
store
is
open
daily,
with
no
exceptions.
(その店は例外なく毎日営業している。)
The store is open daily
「その店は毎日営業している」という意味です。
with no exceptions
「例外なく」「例外なしに」という意味を表します。
Her
work
is
excellent,
with
few
exceptions.
(彼女の仕事はほとんど例外なく素晴らしい。)
Her work is excellent
「彼女の仕事は素晴らしい」という意味です。
with few exceptions
「ほとんど例外なく」または「ごくわずかな例外を除いて」という意味です。
2.
ソフトウェアの実行中に発生する、通常のプログラムフローを中断させるような予期せぬ出来事やエラー状態。
ソフトウェアの実行中に発生する、通常のプログラムフローを中断させるような予期せぬ出来事やエラー状態を指します。
The
system
throws
an
exception
when
it
encounters
an
invalid
input.
(無効な入力に遭遇すると、システムは例外をスローする。)
The system throws an exception
「システムが例外を発生させる」という動作を示します。
when it encounters
「~に遭遇したとき」という条件を表します。
an invalid input
「無効な入力」を指します。
We
need
to
handle
all
possible
exceptions
in
our
code.
(コード内のすべての可能な例外を処理する必要がある。)
We need to handle
「私たちは処理する必要がある」という必要性を示します。
all possible exceptions
「考えられるすべての例外」を意味します。
in our code
「私たちのコード内で」という場所を示します。
Catching
exceptions
prevents
the
program
from
crashing.
(例外をキャッチすることで、プログラムがクラッシュするのを防ぐ。)
Catching exceptions
「例外を捕捉すること」という行為を指します。
prevents the program
「プログラムを防ぐ」という動作を示します。
from crashing
「クラッシュすることから」という結果を示します。
関連
rule
exception
exclusion
aberration
deviation
irregularity
anomaly
special case
exception handling
error