org.seasar.framework.container
クラス IllegalInitMethodAnnotationRuntimeException

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

public class IllegalInitMethodAnnotationRuntimeException
extends SRuntimeException

アノテーションで指定されたinitメソッド・インジェクション定義が不正だった場合にスローされます。

アノテーションで指定されたメソッドが存在しない場合、 複数定義されている場合、 および引数が必要な場合に不正とみなされます。

作成者:
higa, belltree
関連項目:
ConstantAnnotationHandler, 直列化された形式

コンストラクタの概要
IllegalInitMethodAnnotationRuntimeException(java.lang.Class componentClass, java.lang.String methodName)
          IllegalInitMethodAnnotationRuntimeExceptionを構築します。
 
メソッドの概要
 java.lang.Class getComponentClass()
          例外の原因となったアノテーションが指定されたクラスを返します。
 java.lang.String getMethodName()
          例外の原因となったアノテーションで指定されたメソッド名を返します。
 
クラス 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
 

コンストラクタの詳細

IllegalInitMethodAnnotationRuntimeException

public IllegalInitMethodAnnotationRuntimeException(java.lang.Class componentClass,
                                                   java.lang.String methodName)
IllegalInitMethodAnnotationRuntimeExceptionを構築します。

パラメータ:
componentClass - アノテーションが指定されたクラス
methodName - アノテーションで指定されたメソッド名
メソッドの詳細

getComponentClass

public java.lang.Class getComponentClass()
例外の原因となったアノテーションが指定されたクラスを返します。

戻り値:
アノテーションが指定されたクラス

getMethodName

public java.lang.String getMethodName()
例外の原因となったアノテーションで指定されたメソッド名を返します。

戻り値:
アノテーションで指定されたメソッド名


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