All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.text.BadLocation
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----com.sun.java.swing.text.BadLocation
- public class BadLocation
- extends Exception
This exception is to report bad locations within a document model
(ie attempts to reference a location that doesn't exist).
-
BadLocation(String, int)
- Create one.
-
offsetRequested()
- The offset into the document that was not legal
BadLocation
public BadLocation(String s,
int offs)
- Create one.
- Parameters:
- s - A string indicating what was wrong with the arguments.
- offs - Offset within the document that was requested.
offsetRequested
public int offsetRequested()
- The offset into the document that was not legal
All Packages Class Hierarchy This Package Previous Next Index