KickJava   Java API By Example, From Geeks To Geeks.

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


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
17  * category in a document.
18  * <p>
19  * This class is not intended to be serialized.
20  * </p>
21  *
22  * @see org.eclipse.jface.text.IDocument
23  */

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

33     private static final long serialVersionUID= 3761405300745713206L;
34
35     /**
36      * Creates a new bad position category exception.
37      */

38     public BadPositionCategoryException() {
39         super();
40     }
41
42     /**
43      * Creates a new bad position category exception.
44      *
45      * @param message the exception's message
46      */

47     public BadPositionCategoryException(String JavaDoc message) {
48         super(message);
49     }
50 }
51
Popular Tags