種類
ライブラリ
- English (11)
- ビルトイン (555)
- bigdecimal (113)
- drb (11)
- e2mmap (96)
- fileutils (22)
- irb (11)
- json (11)
-
json
/ add / exception (22) - matrix (33)
-
minitest
/ unit (4) -
net
/ http (39) - psych (11)
- rexml (66)
-
rubygems
/ commands / lock _ command (11) -
rubygems
/ exceptions (99) -
rubygems
/ gem _ openssl (11) -
rubygems
/ security (33) -
rubygems
/ spec _ fetcher (11) - stringio (11)
- timeout (41)
-
webrick
/ httpauth / authenticator (22)
クラス
-
ARGF
. class (9) - BigDecimal (101)
-
DRb
:: DRbUnknown (11) -
Encoding
:: Converter (11) - Exception (168)
- Fiber (15)
-
Gem
:: Commands :: LockCommand (11) -
Gem
:: Security :: Policy (11) -
Gem
:: SpecFetcher (11) - IO (22)
-
JSON
:: State (11) -
MiniTest
:: Unit (2) -
MiniTest
:: Unit :: TestCase (1) -
REXML
:: ParseException (44) - SignalException (55)
- StringIO (11)
- Thread (87)
- TracePoint (22)
モジュール
- Exception2MessageMapper (78)
- FileUtils (22)
- Gem (11)
-
Gem
:: Security (11) - IRB (11)
- Kernel (200)
-
MiniTest
:: Assertions (1) -
Net
:: HTTPExceptions (11) - Timeout (19)
-
WEBrick
:: HTTPAuth :: Authenticator (11) -
WEBrick
:: HTTPAuth :: ProxyAuthenticator (11)
キーワード
-
$ ! (11) -
$ ERROR _ INFO (11) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - == (11)
- AuthException (22)
- BigDecimal (12)
- Complex (12)
- DependencyRemovalException (11)
- E2MM (6)
-
EXCEPTION
_ ALL (11) -
EXCEPTION
_ INFINITY (11) -
EXCEPTION
_ NaN (11) -
EXCEPTION
_ OVERFLOW (11) -
EXCEPTION
_ UNDERFLOW (11) -
EXCEPTION
_ ZERODIVIDE (11) - EndOfYAMLException (11)
- ErrDimensionMismatch (11)
- ErrNotRegisteredException (6)
- ErrNotRegular (11)
- ErrOperationNotDefined (11)
- Exception2MessageMapper (6)
- Fail (12)
- Float (6)
- FormatException (11)
- GemNotFoundException (11)
- GemNotInHomeException (11)
- HTTPClientException (6)
- HTTPExceptions (11)
- HTTPServerException (11)
- Integer (6)
- InvalidSpecificationException (11)
-
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 3
. 0 . 0 (4) -
PASSTHROUGH
_ EXCEPTIONS (1) - ParseException (11)
- Raise (12)
- Rational (6)
- RemoteSourceException (11)
- Rubyの起動 (3)
- Ruby用語集 (11)
- SignalException (11)
- SystemExitException (11)
- TracePoint (11)
- UndefinedNamespaceException (11)
-
abort
_ on _ exception (22) -
abort
_ on _ exception= (22) - backtrace (11)
-
backtrace
_ locations (11) - bind (6)
- cause (11)
- complain (11)
- context (11)
- debug (11)
-
def
_ exception (12) -
ensure
_ ssl _ available (11) - exception (44)
-
exception
_ details (1) -
extend
_ object (6) - fail (39)
- generate (11)
-
handle
_ interrupt (11) - inspect (11)
-
irb
_ abort (11) -
json
/ add / exception (11) -
json
_ create (11) -
last
_ error (11) - line (11)
- location (1)
- logger (11)
- mode (22)
- new (57)
- position (11)
- puke (1)
- raise (48)
-
raised
_ exception (11) -
read
_ nonblock (31) - remove (11)
-
report
_ on _ exception (16) -
report
_ on _ exception= (16) - response (11)
- rm (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
rubygems
/ exceptions (11) -
save
_ exception _ mode (11) -
set
_ backtrace (11) - signm (11)
- signo (11)
- spawn (24)
- system (24)
- timeout (41)
-
to
_ json (11) -
to
_ s (22) -
to
_ tty? (7) -
verify
_ gem (11) -
verify
_ trust _ dir (11) -
warn
_ legacy (11) -
write
_ nonblock (11) - 制御構造 (11)
検索結果
先頭5件
- Gem
:: Security :: Exception - Psych
:: Exception - Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class - Exception2MessageMapper
. def _ exception(klass , exception _ name , message _ format , superklass = StandardError) -> Class - Exception2MessageMapper
:: ErrNotRegisteredException
-
Gem
:: Security :: Exception (24000.0) -
セキュリティ関連のエラーを表します。
セキュリティ関連のエラーを表します。 -
Psych
:: Exception (24000.0) -
Psych 関連のエラーを表す例外です。
Psych 関連のエラーを表す例外です。 -
Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class (18424.0) -
exception_name という名前の例外クラスを定義します。
...
exception_name という名前の例外クラスを定義します。
@param exception_name 定義する例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマット。
@param superclass 定義する例外のスーパークラスを指定... -
Exception2MessageMapper
. def _ exception(klass , exception _ name , message _ format , superklass = StandardError) -> Class (18424.0) -
exception_name という名前の例外クラスを定義します。
...
exception_name という名前の例外クラスを定義します。
@param klass 一階層上となるクラス名を指定します。
@param exception_name 例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマットを指定しま......す。
Kernel.#sprintf のフォーマット文字列と同じ形式を使用できます。
@param superklass 定義する例外クラスのスーパークラスを指定します。
省略すると StandardError を使用します。
@return 定義した例... -
Exception2MessageMapper
:: ErrNotRegisteredException (18016.0) -
登録されていない例外が Exception2MessageMapper#Raise で使用された場合に発生します。
...登録されていない例外が Exception2MessageMapper#Raise で使用された場合に発生します。... -
WEBrick
:: HTTPAuth :: Authenticator :: AuthException -> Class (15200.0) -
認証失敗時に発生する例外のクラスです。
認証失敗時に発生する例外のクラスです。 -
WEBrick
:: HTTPAuth :: ProxyAuthenticator :: AuthException -> Class (15200.0) -
WEBrick::HTTPStatus::ProxyAuthenticationRequired です。
...WEBrick::HTTPStatus::ProxyAuthenticationRequired です。... -
MiniTest
:: Assertions # exception _ details(exception , message) -> String (12408.0) -
与えられた例外の詳細を文字列として返します。
...与えられた例外の詳細を文字列として返します。
@param exception 例外を指定します。
@param message メッセージを指定します。... -
TracePoint
# raised _ exception -> Exception (12308.0) -
発生した例外を返します。
...@raise RuntimeError :raise イベントのためのイベントフックの外側で実行し
た場合に発生します。
//emlist[例][ruby]{
trace = TracePoint.new(:raise) do |tp|
tp.raised_exception # => #<ZeroDivisionError: divided by 0>
end
trace.enable
begin
0/0
r... -
Thread
# report _ on _ exception -> bool (12250.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...d.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => tru......fc3f48c7908@(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.ru......n # => #<Thread:0x00007fc3f48aefc0@(irb):4 dead>
//}
@see Thread.report_on_exception... -
Thread
# report _ on _ exception=(newstate) (12250.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...d.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => tru......fc3f48c7908@(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.ru......n # => #<Thread:0x00007fc3f48aefc0@(irb):4 dead>
//}
@see Thread.report_on_exception... -
BigDecimal
:: EXCEPTION _ ALL -> Integer (12231.0) -
BigDecimal の計算において例外を発生させるかどうかを設定、確認する 際の値を返します。
...BigDecimal の計算において例外を発生させるかどうかを設定、確認する
際の値を返します。
以下の例外全てが対象です。
* BigDecimal::EXCEPTION_INFINITY
* BigDecimal::EXCEPTION_NaN
* BigDecimal::EXCEPTION_OVERFLOW
* BigDecimal::EXCEPTION_UNDERFLOW
* Bi......gDecimal::EXCEPTION_ZERODIVIDE
BigDecimal.mode の第 1 引数に指定します。... -
Thread
# abort _ on _ exception -> bool (12226.0) -
真の場合、そのスレッドが例外によって終了した時に、インタプリタ 全体を中断させます。false の場合、あるスレッドで起こった例 外は、Thread#join などで検出されない限りそのスレッ ドだけをなにも警告を出さずに終了させます。
...の場合、あるスレッドで起こった例
外は、Thread#join などで検出されない限りそのスレッ
ドだけをなにも警告を出さずに終了させます。
デフォルトは偽です。c:Thread#exceptionを参照してください。
@param newstate 自身を実行中......に例外発生した場合、インタプリタ全体を終了させるかどうかを true か false で指定します。
//emlist[例][ruby]{
thread = Thread.new { sleep 1 }
thread.abort_on_exception # => false
thread.abort_on_exception = true
thread.abort_on_exception # => true
//}...