Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

since

1.0

Hierarchy

  • Exception
    • IllegalLineIndexException

Index

Constructors

Properties

Methods

Constructors

constructor

  • Constructs a new exception.

    since

    1.0

    Parameters

    • _row: Row

      the row where the exception occured

    • _lineIndex: number

      the line index that violated the line count

    • _lineCount: number

      the total number of lines inside the row

    Returns IllegalLineIndexException

Properties

message

message: string

name

name: string

Optional stack

stack: string

Methods

getLineCount

  • getLineCount(): number
  • Returns the total number of lines used for the row.

    since

    1.0

    see

    Row.getLineCount()

    Returns number

    the line count

getLineIndex

  • getLineIndex(): number
  • Returns the line index that did not fit into the line count.

    since

    1.0

    see

    Row.getLineIndex(Activity)

    Returns number

    the line index

getRow

  • getRow(): Row
  • Returns the row where the exception occured.

    since:

    1.0

    Returns Row

    the affected row