Klasse IllegalLineIndexException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.flexganttfx.model.exception.IllegalLineIndexException
Alle implementierten Schnittstellen:
Serializable

public class IllegalLineIndexException extends RuntimeException
An exception type used to indicate that the line index used for an activity is not within the possible range for a given row. Example: a row might have 10 lines but the line index is 15.
Seit:
1.0
Siehe auch:
  • Konstruktordetails

    • IllegalLineIndexException

      public IllegalLineIndexException(Row<?,?,?> row, int lineIndex, int lineCount)
      Constructs a new exception.
      Parameter:
      row - the row where the exception occured
      lineIndex - the line index that violated the line count
      lineCount - the total number of lines inside the row
      Seit:
      1.0
  • Methodendetails

    • getRow

      public Row<?,?,?> getRow()
      Returns the row where the exception occured.
      Gibt zurück:
      the affected row
      Seit:
      1.0
    • getLineCount

      public int getLineCount()
      Returns the total number of lines used for the row.
      Gibt zurück:
      the line count
      Seit:
      1.0
      Siehe auch:
    • getLineIndex

      public int getLineIndex()
      Returns the line index that did not fit into the line count.
      Gibt zurück:
      the line index
      Seit:
      1.0
      Siehe auch: