01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jface.text;
11:
12: /**
13: * Represents the attempt to refer to a non-existing document partitioning.
14: * <p>
15: * This class is not intended to be serialized.
16: * </p>
17: *
18: * @see org.eclipse.jface.text.IDocument
19: * @see org.eclipse.jface.text.IDocumentExtension3
20: * @since 3.0
21: */
22: public class BadPartitioningException extends Exception {
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 = 3256439205327876408L;
32:
33: /**
34: * Creates a new bad partitioning exception.
35: */
36: public BadPartitioningException() {
37: }
38:
39: /**
40: * Creates a new bad partitioning exception.
41: *
42: * @param message message describing the exception
43: */
44: public BadPartitioningException(String message) {
45: super(message);
46: }
47: }
|