Exception: Seasar::Exception::PropertyNotFoundRuntimeException
- Inherits:
-
S2RuntimeException
- Object
- StandardError
- S2RuntimeException
- Seasar::Exception::PropertyNotFoundRuntimeException
- Defined in:
- lib/seasar/exception/property-notfound-runtime-exception.rb
Overview
プロパティが存在しない場合にスローされる例外です。
Instance Method Summary collapse
-
#initialize(bean_class, attribute) ⇒ PropertyNotFoundRuntimeException
constructor
PropertyNotFoundRuntimeExceptionを構築します。.
-
#to_s ⇒ Object
文字列表現を返します。.
Constructor Details
#initialize(bean_class, attribute) ⇒ PropertyNotFoundRuntimeException
PropertyNotFoundRuntimeExceptionを構築します。
-
args
-
Class bean_class
-
Symbol attribute
-
31 32 33 34 |
# File 'lib/seasar/exception/property-notfound-runtime-exception.rb', line 31 def initialize(bean_class, attribute) @bean_class = bean_class @attribute = attribute end |
Instance Method Details
#to_s ⇒ Object
文字列表現を返します。
-
args
-
none
-
-
return
-
String
-
43 44 45 |
# File 'lib/seasar/exception/property-notfound-runtime-exception.rb', line 43 def to_s return "class : #{@bean_class}, attribute : #{@attribute}" end |