クラス IncorrectLineLengthException

実装されたすべてのインターフェース:
SerializableSE

public class IncorrectLineLengthException extends FlatFileFormatException
予想される行サイズが予想と異なることを示す例外。
導入:
1.1
作成者:
Lucas Ward, Michael Minella, Mahmoud Ben Hassine
関連事項:
  • コンストラクターの詳細

    • IncorrectLineLengthException

      public IncorrectLineLengthException(StringSE message, int expectedLength, int actualLength, StringSE input)
      パラメーター:
      message - この例外のメッセージ。
      expectedLength - 予期された長さを含む int。
      actualLength - 実際の長さを含む整数。
      input - 例外がスローされる原因となったコンテンツを含む StringSE
      導入:
      2.2.6
    • IncorrectLineLengthException

      public IncorrectLineLengthException(StringSE message, int expectedLength, int actualLength)
      パラメーター:
      message - この例外のメッセージ。
      expectedLength - 予期された長さを含む int。
      actualLength - 実際の長さを含む整数。
    • IncorrectLineLengthException

      public IncorrectLineLengthException(int expectedLength, int actualLength, StringSE input)
      パラメーター:
      expectedLength - 予期された長さを含む int。
      actualLength - 実際の長さを含む整数。
      input - 例外がスローされる原因となったコンテンツを含む StringSE
      導入:
      2.2.6
    • IncorrectLineLengthException

      public IncorrectLineLengthException(int expectedLength, int actualLength)
      パラメーター:
      expectedLength - 予期された長さを含む int。
      actualLength - 実際の長さを含む整数。
  • メソッドの詳細

    • getActualLength

      public int getActualLength()
      この例外について記録された実際の長さを取得します。
      戻り値:
      実際の長さを含む整数。
    • getExpectedLength

      public int getExpectedLength()
      この例外について記録された予想長を取得します。
      戻り値:
      予想される長さを含む int。