KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > text > BadLocationException


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jface.text;
12
13
14
15 /**
16  * Indicates the attempt to access a non-existing position. The attempt has been
17  * performed on a text store such as a document or string.
18  * <p>
19  * This class is not intended to be serialized.
20  * </p>
21  */

22 public class BadLocationException extends Exception JavaDoc {
23
24     /**
25      * Serial version UID for this class.
26      * <p>
27      * Note: This class is not intended to be serialized.
28      * </p>
29      * @since 3.1
30      */

31     private static final long serialVersionUID= 3257281452776370224L;
32
33     /**
34      * Creates a new bad location exception.
35      */

36     public BadLocationException() {
37         super();
38     }
39
40     /**
41      * Creates a new bad location exception.
42      *
43      * @param message the exception message
44      */

45     public BadLocationException(String JavaDoc message) {
46         super(message);
47     }
48 }
49
Popular Tags