Exception: Seasar::Container::Exception::CyclicReferenceRuntimeException
- Inherits:
-
Exception::S2RuntimeException
- Object
- StandardError
- Exception::S2RuntimeException
- Seasar::Container::Exception::CyclicReferenceRuntimeException
- Defined in:
- lib/seasar/container/exception/cyclic-reference-runtime-exception.rb
Overview
コンポーネントの再帰インジェクションが発生した場合にスローされる例外クラスです。
Instance Method Summary collapse
-
#initialize(component_class) ⇒ CyclicReferenceRuntimeException
constructor
CyclicReferenceRuntimeExceptionを構築します。 - args 1.
-
#to_s ⇒ Object
CyclicReferenceRuntimeExceptionの文字列表現を返します。 - args - none - return - String.
Constructor Details
#initialize(component_class) ⇒ CyclicReferenceRuntimeException
CyclicReferenceRuntimeExceptionを構築します。
-
args
-
Class component_class
-
28 29 30 |
# File 'lib/seasar/container/exception/cyclic-reference-runtime-exception.rb', line 28 def initialize(component_class) @component_class = component_class end |
Instance Method Details
#to_s ⇒ Object
CyclicReferenceRuntimeExceptionの文字列表現を返します。
-
args
-
none
-
-
return
-
String
-
37 38 39 |
# File 'lib/seasar/container/exception/cyclic-reference-runtime-exception.rb', line 37 def to_s return "component class is #{@component_class}" end |