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).


Constructor Index

 o BadLocation(String, int)
Create one.

Method Index

 o offsetRequested()
The offset into the document that was not legal

Constructors

 o 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.

Methods

 o offsetRequested
 public int offsetRequested()
The offset into the document that was not legal


All Packages  Class Hierarchy  This Package  Previous  Next  Index