パッケージ 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
- コンストラクターの詳細- IncorrectResultSetColumnCountExceptionpublic IncorrectResultSetColumnCountException- (int expectedCount, int actualCount) IncorrectResultSetColumnCountException のコンストラクター。- パラメーター:
- expectedCount- 予想される列数
- actualCount- 実際の列数
 
- IncorrectResultSetColumnCountExceptionIncorrectResultCountDataAccessException のコンストラクター。- パラメーター:
- msg- 詳細メッセージ
- expectedCount- 予想される列数
- actualCount- 実際の列数
 
 
- メソッドの詳細- getExpectedCountpublic int getExpectedCount()予想される列数を返します。
- getActualCountpublic int getActualCount()実際の列数を返します。