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 * Represents the attempt to refer to a non-existing document partitioning. 15 * <p> 16 * This class is not intended to be serialized. 17 * </p> 18 * 19 * @see org.eclipse.jface.text.IDocument 20 * @see org.eclipse.jface.text.IDocumentExtension3 21 * @since 3.0 22 */ 23 public class BadPartitioningException extends Exception { 24 25 /** 26 * Serial version UID for this class. 27 * <p> 28 * Note: This class is not intended to be serialized. 29 * </p> 30 * @since 3.1 31 */ 32 private static final long serialVersionUID= 3256439205327876408L; 33 34 /** 35 * Creates a new bad partitioning exception. 36 */ 37 public BadPartitioningException() { 38 } 39 40 /** 41 * Creates a new bad partitioning exception. 42 * 43 * @param message message describing the exception 44 */ 45 public BadPartitioningException(String message) { 46 super(message); 47 } 48 } 49