javax.swing.text
public class BadLocationException extends Exception
Document
has been
accessed.
Constructor Summary | |
---|---|
BadLocationException(String str, int offset)
Constructs a BadLocationException
|
Method Summary | |
---|---|
int | offsetRequested()
Returns the offset into the document that was not legal.
|
BadLocationException
Parameters: str a string indicating what was wrong with the arguments offset offset within the document that was requested >= 0
Returns: the offset into the document that was not legal