org.seasar.framework.container
クラス IllegalAutoBindingPropertyRuntimeException

java.lang.Object
  拡張java.lang.Throwable
      拡張java.lang.Exception
          拡張java.lang.RuntimeException
              拡張org.seasar.framework.exception.SRuntimeException
                  拡張org.seasar.framework.container.IllegalAutoBindingPropertyRuntimeException
すべての実装インタフェース:
Serializable

public class IllegalAutoBindingPropertyRuntimeException
extends SRuntimeException

自動バインディングの対象となるコンポーネントが見つからなかった場合にスローされます。

この例外がスローされるのは、 バインディングタイプ定義mustで自動バインディングの対象が見つからなかった時です。

作成者:
higa, jundu
関連項目:
AutoBindingDef, BindingTypeDef, 直列化された形式

コンストラクタの概要
IllegalAutoBindingPropertyRuntimeException(Class componentClass, String propertyName)
          IllegalAutoBindingPropertyRuntimeExceptionを構築します。
 
メソッドの概要
 Class getComponentClass()
          自動バインディングに失敗したコンポーネントのクラスを返します。
 String getPropertyName()
          自動バインディング対象が見つからなかったプロパティまたはフィールドの名称を返します。
 
クラス org.seasar.framework.exception.SRuntimeException から継承したメソッド
getArgs, getMessage, getMessageCode, getSimpleMessage, setMessage
 
クラス java.lang.Throwable から継承したメソッド
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

IllegalAutoBindingPropertyRuntimeException

public IllegalAutoBindingPropertyRuntimeException(Class componentClass,
                                                  String propertyName)
IllegalAutoBindingPropertyRuntimeExceptionを構築します。

パラメータ:
componentClass - 自動バインディングに失敗したコンポーネント
propertyName - 自動バインディング対象が見つからなかったプロパティまたはフィールドの名称
メソッドの詳細

getComponentClass

public Class getComponentClass()
自動バインディングに失敗したコンポーネントのクラスを返します。

戻り値:
自動バインディングに失敗したコンポーネントのクラス

getPropertyName

public String getPropertyName()
自動バインディング対象が見つからなかったプロパティまたはフィールドの名称を返します。

戻り値:
自動バインディングに失敗したプロパティまたはフィールドの名称


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.