種類
ライブラリ
- English (12)
- ビルトイン (479)
- bigdecimal (100)
- drb (12)
- e2mmap (96)
- irb (12)
-
json
/ add / exception (24) - matrix (36)
-
minitest
/ unit (4) -
net
/ http (43) - psych (12)
- rexml (72)
-
rubygems
/ exceptions (108) -
rubygems
/ security (12) -
rubygems
/ spec _ fetcher (12) - stringio (12)
- timeout (29)
-
webrick
/ httpauth / authenticator (24)
クラス
-
ARGF
. class (10) - BigDecimal (86)
-
DRb
:: DRbUnknown (12) -
Encoding
:: Converter (12) - Exception (184)
- Fiber (6)
-
Gem
:: SpecFetcher (12) - Hash (8)
- IO (36)
-
MiniTest
:: Unit (2) -
MiniTest
:: Unit :: TestCase (1) -
REXML
:: ParseException (48) - SignalException (60)
- StringIO (12)
- Thread (84)
- TracePoint (12)
モジュール
- Exception2MessageMapper (78)
- IRB (12)
- Kernel (93)
-
MiniTest
:: Assertions (1) -
Net
:: HTTPExceptions (12) - Timeout (21)
-
WEBrick
:: HTTPAuth :: Authenticator (12) -
WEBrick
:: HTTPAuth :: ProxyAuthenticator (12)
オブジェクト
- ENV (8)
キーワード
-
$ ! (12) -
$ ERROR _ INFO (12) - == (12)
- AuthException (24)
- BigDecimal (14)
- Complex (14)
- DependencyRemovalException (12)
- E2MM (6)
-
EXCEPTION
_ ALL (12) -
EXCEPTION
_ INFINITY (12) -
EXCEPTION
_ NaN (12) -
EXCEPTION
_ OVERFLOW (12) -
EXCEPTION
_ UNDERFLOW (12) -
EXCEPTION
_ ZERODIVIDE (12) - EndOfYAMLException (12)
- ErrDimensionMismatch (12)
- ErrNotRegisteredException (6)
- ErrNotRegular (12)
- ErrOperationNotDefined (12)
- Exception (48)
- Exception2MessageMapper (6)
- Fail (12)
- Float (7)
- FormatException (12)
- GemNotFoundException (12)
- GemNotInHomeException (12)
- HTTPClientException (7)
- HTTPExceptions (12)
- HTTPServerException (12)
- Integer (7)
- InvalidSpecificationException (12)
-
NEWS for Ruby 3
. 0 . 0 (5) -
PASSTHROUGH
_ EXCEPTIONS (1) - ParseException (12)
- Raise (12)
- Rational (7)
- RemoteSourceException (12)
- SignalException (12)
- SystemExitException (12)
- UndefinedNamespaceException (12)
-
abort
_ on _ exception (24) -
abort
_ on _ exception= (24) - backtrace (12)
-
backtrace
_ locations (12) - bind (6)
- cause (12)
- context (12)
-
def
_ exception (12) - exception (48)
-
exception
_ details (1) -
extend
_ object (6) - fail (6)
- inspect (12)
-
irb
_ abort (12) -
json
/ add / exception (12) -
json
_ create (12) -
last
_ error (12) - line (12)
- location (1)
- new (50)
- position (12)
- puke (1)
- raise (6)
-
raised
_ exception (12) -
rb
_ thread _ select (1) -
read
_ nonblock (34) -
report
_ on _ exception (18) -
report
_ on _ exception= (18) - response (12)
-
rubygems
/ exceptions (12) -
save
_ exception _ mode (12) - select (24)
-
set
_ backtrace (12) - signm (12)
- signo (12)
- slice (8)
- timeout (29)
-
to
_ json (12) -
to
_ s (24) -
to
_ tty? (8) -
warn
_ legacy (12) -
write
_ nonblock (12)
検索結果
先頭5件
-
Thread
# abort _ on _ exception=(newstate) (6100.0) -
真の場合、そのスレッドが例外によって終了した時に、インタプリタ 全体を中断させます。false の場合、あるスレッドで起こった例 外は、Thread#join などで検出されない限りそのスレッ ドだけをなにも警告を出さずに終了させます。
...。c:Thread#exceptionを参照してください。
@param newstate 自身を実行中に例外発生した場合、インタプリタ全体を終了させるかどうかを true か false で指定します。
//emlist[例][ruby]{
thread = Thread.new { sleep 1 }
thread.abort_on_exception # => fal......se
thread.abort_on_exception = true
thread.abort_on_exception # => true
//}... -
Thread
# report _ on _ exception -> bool (6100.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...ad.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => tr......(irb):1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
# #<Thread:0x00007fc3f48c7908@(irb):1 dead>
b = Thread.new{ Thread.stop; raise }
b.report_on_exception = false
b.run # => #<T......hread:0x00007fc3f48aefc0@(irb):4 dead>
//}
@see Thread.report_on_exception... -
Thread
# report _ on _ exception=(newstate) (6100.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...ad.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => tr......(irb):1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
# #<Thread:0x00007fc3f48c7908@(irb):1 dead>
b = Thread.new{ Thread.stop; raise }
b.report_on_exception = false
b.run # => #<T......hread:0x00007fc3f48aefc0@(irb):4 dead>
//}
@see Thread.report_on_exception... -
Thread
. abort _ on _ exception -> bool (6100.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、インタプリタ 全体を中断させます。false の場合、あるスレッドで起こった例外は、Thread#join などで検出されない限りそのスレッドだけをなにも警告を出さずに終了させます。
...:Thread#exceptionを参照してください。
@param newstate スレッド実行中に例外発生した場合、インタプリタ全体を終了させるかどうかを true か false で指定します。
//emlist[例][ruby]{
Thread.abort_on_exception # => false
Thread.abort_on_exception = tr......ue
Thread.abort_on_exception # => true
//}... -
Thread
. abort _ on _ exception=(newstate) (6100.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、インタプリタ 全体を中断させます。false の場合、あるスレッドで起こった例外は、Thread#join などで検出されない限りそのスレッドだけをなにも警告を出さずに終了させます。
...:Thread#exceptionを参照してください。
@param newstate スレッド実行中に例外発生した場合、インタプリタ全体を終了させるかどうかを true か false で指定します。
//emlist[例][ruby]{
Thread.abort_on_exception # => false
Thread.abort_on_exception = tr......ue
Thread.abort_on_exception # => true
//}... -
Thread
. report _ on _ exception -> bool (6100.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...false です。
Thread.new { 1.times { raise } }
は $stderr に以下のように出力します:
#<Thread:...> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from -e:1:in `block in <main>'
1: from -e:1:in `times'
これ......oin や Thread#value でそのスレッドの終了を待つことが保証できるなら、
スレッド開始時に Thread.current.report_on_exception = false でレポートを無効化しても
安全です。しかし、この場合、例外をハンドルするのが遅れたり、親......いて
終了を待つことができなかったりするかもしれません。
スレッドごとに設定する方法は Thread#report_on_exception= を参照してください。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを......true です。
Thread.new { 1.times { raise } }
は $stderr に以下のように出力します:
#<Thread:...> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from -e:1:in `block in <main>'
1: from -e:1:in `times'
これ... -
Thread
. report _ on _ exception=(newstate) (6100.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...false です。
Thread.new { 1.times { raise } }
は $stderr に以下のように出力します:
#<Thread:...> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from -e:1:in `block in <main>'
1: from -e:1:in `times'
これ......oin や Thread#value でそのスレッドの終了を待つことが保証できるなら、
スレッド開始時に Thread.current.report_on_exception = false でレポートを無効化しても
安全です。しかし、この場合、例外をハンドルするのが遅れたり、親......いて
終了を待つことができなかったりするかもしれません。
スレッドごとに設定する方法は Thread#report_on_exception= を参照してください。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを......true です。
Thread.new { 1.times { raise } }
は $stderr に以下のように出力します:
#<Thread:...> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from -e:1:in `block in <main>'
1: from -e:1:in `times'
これ... -
WEBrick
:: HTTPAuth :: Authenticator :: AuthException -> Class (6100.0) -
認証失敗時に発生する例外のクラスです。
認証失敗時に発生する例外のクラスです。 -
WEBrick
:: HTTPAuth :: ProxyAuthenticator :: AuthException -> Class (6100.0) -
WEBrick::HTTPStatus::ProxyAuthenticationRequired です。
WEBrick::HTTPStatus::ProxyAuthenticationRequired です。 -
Exception (6000.0)
-
全ての例外の祖先のクラスです。
全ての例外の祖先のクラスです。