public class IllegalLineIndexException extends RuntimeException
Constructor and Description |
---|
IllegalLineIndexException(Row<?,?,?> row,
int lineIndex,
int lineCount)
Constructs a new exception.
|
Modifier and Type | Method and Description |
---|---|
int |
getLineCount()
Returns the total number of lines used for the row.
|
int |
getLineIndex()
Returns the line index that did not fit into the line count.
|
Row<?,?,?> |
getRow()
Returns the row where the exception occured.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalLineIndexException(Row<?,?,?> row, int lineIndex, int lineCount)
row
- the row where the exception occuredlineIndex
- the line index that violated the line countlineCount
- the total number of lines inside the rowpublic Row<?,?,?> getRow()
public int getLineCount()
Row.getLineCount()
public int getLineIndex()
Row.getLineIndex(Activity)
Copyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.