org.seasar.framework.container
クラス IllegalMethodRuntimeException
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
java.lang.RuntimeException
              
org.seasar.framework.exception.SRuntimeException
                  
org.seasar.framework.container.IllegalMethodRuntimeException
- すべての実装インタフェース: 
 - Serializable
 
- public class IllegalMethodRuntimeException
- extends SRuntimeException
  
不正なメソッド・インジェクション定義が指定されていた場合にスローされます。
 
 メソッド・インジェクションを実行した際に、 メソッドの引数として指定されたコンポーネントが見つからない場合や、
 引数を適切な型に変換出来ない場合などに発生します。
 
- 作成者:
 
  - higa, belltree
 
- 関連項目:
 MethodDef, 
InitMethodDef, 
DestroyMethodDef, 
MethodAssembler, 
AbstractMethodAssembler, 
直列化された形式
 
 
 
 
 
IllegalMethodRuntimeException
public IllegalMethodRuntimeException(Class componentClass,
                                     String methodName,
                                     Throwable cause)
IllegalMethodRuntimeExceptionを構築します。
- パラメータ: 
 componentClass - 不正なメソッド・インジェクション定義を含むコンポーネントのクラスmethodName - 不正なメソッド・インジェクション定義のメソッド名cause - 原因となった例外
getComponentClass
public Class getComponentClass()
- 不正なメソッド・インジェクション定義を含むコンポーネントのクラスを返します。
- 戻り値: 
 - コンポーネントのクラス
 
 
 
getMethodName
public String getMethodName()
- 不正なメソッド・インジェクション定義のメソッド名を返します。
- 戻り値: 
 - メソッド名
 
 
 
Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.