org.seasar.cubby.spi.beans
クラス AttributeNotFoundException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 java.lang.RuntimeException
              上位を拡張 org.seasar.cubby.spi.beans.AttributeNotFoundException
すべての実装されたインタフェース:
Serializable

public class AttributeNotFoundException
extends RuntimeException

属性が見つからなかったことを表す例外です。

作成者:
baba
関連項目:
直列化された形式

コンストラクタの概要
AttributeNotFoundException(Class<?> targetClass, String propertyName)
          インスタンス化します。
 
メソッドの概要
 String getPropertyName()
          プロパティ名を返します。
 Class<?> getTargetClass()
          対象のクラスを返します。
 
クラス java.lang.Throwable から継承されたメソッド
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

AttributeNotFoundException

public AttributeNotFoundException(Class<?> targetClass,
                                  String propertyName)
インスタンス化します。

パラメータ:
targetClass - 対象のクラス
propertyName - プロパティ名
メソッドの詳細

getTargetClass

public Class<?> getTargetClass()
対象のクラスを返します。

戻り値:
対象のクラス

getPropertyName

public String getPropertyName()
プロパティ名を返します。

戻り値:
プロパティ名


Copyright © 2006-2010 The Seasar Foundation. All Rights Reserved.