1 /* 2 SwingWT 3 Copyright(c)2003-2004, R. Rawson-Tetley 4 5 For more information on distributing and using this program, please 6 see the accompanying "COPYING" file. 7 8 Contact me by electronic mail: bobintetley@users.sourceforge.net 9 10 $Log: BadLocationException.java,v $ 11 Revision 1.1 2004/01/26 08:11:14 bobintetley 12 Many bugfixes and addition of SwingSet 13 14 15 */ 16 package swingwtx.swing.text; 17 18 public class BadLocationException extends Exception { 19 public BadLocationException(String s, int offs) { 20 super(s); 21 this.offs = offs; 22 } 23 public int offsetRequested() { 24 return offs; 25 } 26 private int offs; 27 } 28 29