public class BadLocationException extends java.lang.Exception
Document has been
accessed.| Constructor and Description |
|---|
BadLocationException(java.lang.String str,
int offset)
Constructs a
BadLocationException |
| Modifier and Type | Method and Description |
|---|---|
int |
offsetRequested()
Returns the offset into the document that was not legal.
|
public BadLocationException(java.lang.String str, int offset)
BadLocationExceptionstr - a string indicating what was wrong with the argumentsoffset - offset within the document that was requested >= 0public int offsetRequested()