01: /*
02: * Sun Public License Notice
03: *
04: * The contents of this file are subject to the Sun Public License
05: * Version 1.0 (the "License"). You may not use this file except in
06: * compliance with the License. A copy of the License is available at
07: * http://www.sun.com/
08: *
09: * The Original Code is NetBeans. The Initial Developer of the Original
10: * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
11: * Microsystems, Inc. All Rights Reserved.
12: */
13:
14: package org.netbeans.editor;
15:
16: /**
17: * This exception is thrown either if the mark is invalid and it should be valid (<CODE>getOffset(),
18: * getLine(), remove()</CODE>) or on the oposite side if the mark is valid and
19: * it shouldn't be i.e. <CODE>insertMark()</CODE>
20: *
21: * @author Miloslav Metelka
22: * @version 1.00
23: */
24:
25: public class InvalidMarkException extends Exception {
26:
27: static final long serialVersionUID = -7408566695283816594L;
28:
29: InvalidMarkException() {
30: super ();
31: }
32:
33: InvalidMarkException(String s) {
34: super(s);
35: }
36:
37: }
|