Exception: Seasar::Container::Exception::IllegalInstanceDefRuntimeException
- Inherits:
-
Exception::S2RuntimeException
- Object
- StandardError
- Exception::S2RuntimeException
- Seasar::Container::Exception::IllegalInstanceDefRuntimeException
- Defined in:
- lib/seasar/container/exception/illegal-instance-def-runtime-exception.rb
Overview
InstanceDef抽象クラスを継承していないクラスを登録しようとした場合にスローされる例外クラスです。
Instance Method Summary collapse
-
#initialize(instance_def_name) ⇒ IllegalInstanceDefRuntimeException
constructor
IllegalInstanceDefRuntimeExceptionを構築します。 - args 1.
-
#to_s ⇒ Object
IllegalInstanceDefRuntimeExceptionの文字列表現を返します。 - args 1.
Constructor Details
#initialize(instance_def_name) ⇒ IllegalInstanceDefRuntimeException
IllegalInstanceDefRuntimeExceptionを構築します。
-
args
-
Symbol instance_def_name
-
29 30 31 |
# File 'lib/seasar/container/exception/illegal-instance-def-runtime-exception.rb', line 29 def initialize(instance_def_name) @instance_def_name = instance_def_name end |
Instance Method Details
#to_s ⇒ Object
IllegalInstanceDefRuntimeExceptionの文字列表現を返します。
-
args
-
Seasar::Container::ComponentDef component_def
-
-
return
-
Seasar::Container::Deployer::PrototypeComponentDeployer
-
38 39 40 |
# File 'lib/seasar/container/exception/illegal-instance-def-runtime-exception.rb', line 38 def to_s return 'instanceDef name is ' << @instance_def_name.to_s end |