パッケージ org.springframework.jdbc
クラス IncorrectResultSetColumnCountException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.DataRetrievalFailureException
org.springframework.jdbc.IncorrectResultSetColumnCountException
- 実装されたすべてのインターフェース:
SerializableSE
結果セットに正しい列数が含まれていない場合、たとえば単一の列を予期していたが、0 列または 1 つ以上の列を取得した場合にスローされるデータアクセス例外。
- 導入:
- 2.0
- 作成者:
- Juergen Hoeller
- 関連事項:
コンストラクターのサマリー
コンストラクター説明IncorrectResultSetColumnCountException
(int expectedCount, int actualCount) IncorrectResultSetColumnCountException のコンストラクター。IncorrectResultSetColumnCountException
(StringSE msg, int expectedCount, int actualCount) IncorrectResultCountDataAccessException のコンストラクター。方法の概要
クラス org.springframework.core.NestedRuntimeException から継承されたメソッド
contains, getMostSpecificCause, getRootCause
クラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
コンストラクターの詳細
IncorrectResultSetColumnCountException
public IncorrectResultSetColumnCountException(int expectedCount, int actualCount) IncorrectResultSetColumnCountException のコンストラクター。- パラメーター:
expectedCount
- 予想される列数actualCount
- 実際の列数
IncorrectResultSetColumnCountException
IncorrectResultCountDataAccessException のコンストラクター。- パラメーター:
msg
- 詳細メッセージexpectedCount
- 予想される列数actualCount
- 実際の列数
メソッドの詳細
getExpectedCount
public int getExpectedCount()予想される列数を返します。getActualCount
public int getActualCount()実際の列数を返します。