flattree
Class TreeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
flattree.TreeException
- All Implemented Interfaces:
- Position, Serializable
public class TreeException
- extends RuntimeException
- implements Position
Exception thrown by FlatTree.
- See Also:
- Serialized Form
TreeException
public TreeException(String message,
Position position)
TreeException
public TreeException(Throwable cause,
Position position)
TreeException
public TreeException(String message,
int index,
int rowIndex,
int columnIndex)
TreeException
public TreeException(Throwable cause,
int index,
int rowIndex,
int columnIndex)
getIndex
public int getIndex()
- Description copied from interface:
Position
- Get the index of the current character.
- Specified by:
getIndex
in interface Position
- Returns:
- index
getRowIndex
public int getRowIndex()
- Description copied from interface:
Position
- Get the current row index.
- Specified by:
getRowIndex
in interface Position
- Returns:
- row index
getColumnIndex
public int getColumnIndex()
- Description copied from interface:
Position
- Get the current column index.
- Specified by:
getColumnIndex
in interface Position
- Returns:
- column index
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
getShortMessage
public String getShortMessage()
Copyright © 2011. All Rights Reserved.