home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 March / pcp161a.iso / handson / files / copyjava.exe / com / sun / java / swing / text / BadLocationException.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-02-26  |  440 b   |  15 lines

  1. package com.sun.java.swing.text;
  2.  
  3. public class BadLocationException extends Exception {
  4.    private int offs;
  5.  
  6.    public BadLocationException(String var1, int var2) {
  7.       super(var1);
  8.       this.offs = var2;
  9.    }
  10.  
  11.    public int offsetRequested() {
  12.       return this.offs;
  13.    }
  14. }
  15.