72件ヒット
[1-72件を表示]
(0.029秒)
別のキーワード
ライブラリ
- e2mmap (36)
-
rubygems
/ commands / lock _ command (12) -
rubygems
/ security (12) -
rubygems
/ spec _ fetcher (12)
クラス
-
Gem
:: Commands :: LockCommand (12) -
Gem
:: Security :: Policy (12) -
Gem
:: SpecFetcher (12)
モジュール
キーワード
- Fail (6)
- Raise (6)
- bind (6)
- complain (12)
-
def
_ exception (6) - fail (6)
-
verify
_ gem (12) -
warn
_ legacy (12)
検索結果
先頭5件
- Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class - Gem
:: Security :: Policy # verify _ gem(signature , data , chain , time = Time . now) -> Array - Exception2MessageMapper
# def _ e2message(exception _ class , message _ format) -> Class - Exception2MessageMapper
# Fail(exception _ class = nil , *rest) -> () - Exception2MessageMapper
# Raise(exception _ class = nil , *rest) -> ()
-
Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class (12225.0) -
exception_name という名前の例外クラスを定義します。
...
exception_name という名前の例外クラスを定義します。
@param exception_name 定義する例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマット。
@param superclass 定義する例外のスーパークラスを指定... -
Gem
:: Security :: Policy # verify _ gem(signature , data , chain , time = Time . now) -> Array (9114.0) -
与えられたデータを与えられた署名と証明書チェーンで検証します。
...します。
@param data 検証するデータを指定します。
@param chain 検証で使用する証明書チェーンを指定します。
@param time この時刻に有効であることを検証する。
@raise Gem::Security::Exception 検証に失敗した場合に発生します。... -
Exception2MessageMapper
# def _ e2message(exception _ class , message _ format) -> Class (6142.0) -
すでに存在する例外クラス exception_class に、 エラーメッセージ用フォーマット message_format を関連づけます。
...に存在する例外クラス exception_class に、
エラーメッセージ用フォーマット message_format を関連づけます。
このフォーマットは Exception2MessageMapper#Raise,
Exception2MessageMapper#Fail で使用します。
@param exception_class メッセージを登録......する例外クラスを指定します。
@param message_format メッセージのフォーマットを指定します。
Kernel.#sprintf のフォーマット文字列と同じ形式を使用できます。
@return exception_class を返します。... -
Exception2MessageMapper
# Fail(exception _ class = nil , *rest) -> () (6127.0) -
登録されている情報を使用して、例外を発生させます。
...m exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。
例:
class Foo
extend Exception2MessageM......apper
p def_exception :NewExceptionClass, "message...%d, %d and %d" # =>
def foo
Raise NewExceptionClass, 1, 2, 3
end
end
Foo.new().foo() #=> in `Raise': message...1, 2 and 3 (Foo::NewExceptionClass)
# という例外が発生します。
Foo.Ra......ise Foo::NewExceptionClass, 1, 3, 5 #=> in `Raise': message...1, 3 and 5 (Foo::NewExceptionClass)
# という例外が発生します。... -
Exception2MessageMapper
# Raise(exception _ class = nil , *rest) -> () (6127.0) -
登録されている情報を使用して、例外を発生させます。
...m exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。
例:
class Foo
extend Exception2MessageM......apper
p def_exception :NewExceptionClass, "message...%d, %d and %d" # =>
def foo
Raise NewExceptionClass, 1, 2, 3
end
end
Foo.new().foo() #=> in `Raise': message...1, 2 and 3 (Foo::NewExceptionClass)
# という例外が発生します。
Foo.Ra......ise Foo::NewExceptionClass, 1, 3, 5 #=> in `Raise': message...1, 3 and 5 (Foo::NewExceptionClass)
# という例外が発生します。... -
Exception2MessageMapper
# fail(exception _ class = nil , *rest) -> () (6114.0) -
登録されている情報を使用して、例外を発生させます。
...されている情報を使用して、例外を発生させます。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない... -
Exception2MessageMapper
# bind(cl) -> () (6001.0) -
@todo
@todo
@param cl xxx -
Gem
:: SpecFetcher # warn _ legacy(exception) { . . . } -> bool (3130.0) -
Gem::SpecFetcher#fetch で例外が発生した場合に呼び出されます。
...
Gem::SpecFetcher#fetch で例外が発生した場合に呼び出されます。
RubyGems 1.2 未満で作成したリポジトリにアクセスした事が原因で例外が発生した場合には
警告が表示されます。またこの場合、ブロックを与えていればブロック......は評価されます。
それ以外の原因で例外が発生した場合は偽を返します。
@param exception 例外オブジェクトを指定します。
@see Gem::SpecFetcher#fetch... -
Gem
:: Commands :: LockCommand # complain(message) -> () (3013.0) -
指定されたメッセージを表示します。--strict が有効な場合は例外が発生します。
...指定されたメッセージを表示します。--strict が有効な場合は例外が発生します。
@param message 表示するメッセージを指定します。
@raise Gem::Exception コマンドラインオプションに --strict が指定されている場合に発生します。...