クラス IncorrectLineLengthException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.batch.item.file.transform.FlatFileFormatException
org.springframework.batch.item.file.transform.IncorrectLineLengthException
- 実装されたすべてのインターフェース:
SerializableSE
予想される行サイズが予想と異なることを示す例外。
- 導入:
- 1.1
- 作成者:
- Lucas Ward, Michael Minella, Mahmoud Ben Hassine
- 関連事項:
コンストラクターのサマリー
コンストラクター説明IncorrectLineLengthException
(int expectedLength, int actualLength) IncorrectLineLengthException
(int expectedLength, int actualLength, StringSE input) IncorrectLineLengthException
(StringSE message, int expectedLength, int actualLength) IncorrectLineLengthException
(StringSE message, int expectedLength, int actualLength, StringSE input) メソッドのサマリー
修飾子と型メソッド説明int
この例外について記録された実際の長さを取得します。int
この例外について記録された予想長を取得します。クラス org.springframework.batch.item.file.transform.FlatFileFormatException から継承されたメソッド
getInput
クラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
コンストラクターの詳細
IncorrectLineLengthException
public IncorrectLineLengthException(StringSE message, int expectedLength, int actualLength, StringSE input) - パラメーター:
message
- この例外のメッセージ。expectedLength
- 予期された長さを含む int。actualLength
- 実際の長さを含む整数。input
- 例外がスローされる原因となったコンテンツを含むString
SE。- 導入:
- 2.2.6
IncorrectLineLengthException
- パラメーター:
message
- この例外のメッセージ。expectedLength
- 予期された長さを含む int。actualLength
- 実際の長さを含む整数。
IncorrectLineLengthException
- パラメーター:
expectedLength
- 予期された長さを含む int。actualLength
- 実際の長さを含む整数。input
- 例外がスローされる原因となったコンテンツを含むString
SE。- 導入:
- 2.2.6
IncorrectLineLengthException
public IncorrectLineLengthException(int expectedLength, int actualLength) - パラメーター:
expectedLength
- 予期された長さを含む int。actualLength
- 実際の長さを含む整数。
メソッドの詳細
getActualLength
public int getActualLength()この例外について記録された実際の長さを取得します。- 戻り値:
- 実際の長さを含む整数。
getExpectedLength
public int getExpectedLength()この例外について記録された予想長を取得します。- 戻り値:
- 予想される長さを含む int。