org.seasar.doma.jdbc
クラス BatchUniqueConstraintException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 java.lang.RuntimeException
              上位を拡張 org.seasar.doma.DomaException
                  上位を拡張 org.seasar.doma.jdbc.JdbcException
                      上位を拡張 org.seasar.doma.jdbc.UniqueConstraintException
                          上位を拡張 org.seasar.doma.jdbc.BatchUniqueConstraintException
すべての実装されたインタフェース:
Serializable

public class BatchUniqueConstraintException
extends UniqueConstraintException

バッチ処理で一意制約違反が発生した場合にスローされる例外です。

UniqueConstraintException.getFormattedSql()null を返します。

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

フィールドの概要
 
クラス org.seasar.doma.jdbc.UniqueConstraintException から継承されたフィールド
formattedSql, rawSql
 
クラス org.seasar.doma.DomaException から継承されたフィールド
args, messageCode
 
コンストラクタの概要
BatchUniqueConstraintException(Sql<?> sql, Throwable cause)
          SQLと原因を指定してインスタンスを構築します。
BatchUniqueConstraintException(String rawSql, Throwable cause)
          未加工SQLと原因を指定してインスタンスを構築します。
 
メソッドの概要
 
クラス org.seasar.doma.jdbc.UniqueConstraintException から継承されたメソッド
getFormattedSql, getRawSql
 
クラス org.seasar.doma.DomaException から継承されたメソッド
getArgs, getMessageCode
 
クラス 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
 

コンストラクタの詳細

BatchUniqueConstraintException

public BatchUniqueConstraintException(Sql<?> sql,
                                      Throwable cause)
SQLと原因を指定してインスタンスを構築します。

パラメータ:
sql - SQL
cause - 原因

BatchUniqueConstraintException

public BatchUniqueConstraintException(String rawSql,
                                      Throwable cause)
未加工SQLと原因を指定してインスタンスを構築します。

パラメータ:
rawSql - 未加工SQL
cause - 原因


Copyright © 2009 The Seasar Foundation. All Rights Reserved.