org.seasar.extension.jdbc.exception
クラス IdGeneratorNotFoundRuntimeException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 java.lang.RuntimeException
              上位を拡張 org.seasar.framework.exception.SRuntimeException
                  上位を拡張 org.seasar.extension.jdbc.exception.IdGeneratorNotFoundRuntimeException
すべての実装されたインタフェース:
Serializable

public class IdGeneratorNotFoundRuntimeException
extends SRuntimeException

GeneratedValue.generator()で指定されたIDジェネレータが見つからなかった場合の例外です。

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

フィールドの概要
protected  String entityName
          エンティティ名
protected  String generatorName
          ジェネレータ名
protected  String propertyName
          識別子のプロパティ名
 
コンストラクタの概要
IdGeneratorNotFoundRuntimeException(String entityName, String propertyName, String generatorName)
          IdGeneratorNotFoundRuntimeExceptionを作成します。
 
メソッドの概要
 String getEntityName()
          エンティティ名を返します。
 String getGeneratorName()
          ジェネレータ名を返します。
 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
 

フィールドの詳細

entityName

protected String entityName
エンティティ名


propertyName

protected String propertyName
識別子のプロパティ名


generatorName

protected String generatorName
ジェネレータ名

コンストラクタの詳細

IdGeneratorNotFoundRuntimeException

public IdGeneratorNotFoundRuntimeException(String entityName,
                                           String propertyName,
                                           String generatorName)
IdGeneratorNotFoundRuntimeExceptionを作成します。

パラメータ:
entityName - エンティティ名
propertyName - プロパティ名
generatorName - ジェネレータ名
メソッドの詳細

getEntityName

public String getEntityName()
エンティティ名を返します。

戻り値:
エンティティ名

getPropertyName

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

戻り値:
プロパティ名

getGeneratorName

public String getGeneratorName()
ジェネレータ名を返します。

戻り値:
ジェネレータ名


Copyright ? 2004-2008 The Seasar Foundation. All Rights Reserved.