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