1 /*******************************************************************************
2 * Copyright (c) 2000, 2004 International Business Machines Corp. and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 ******************************************************************************/
11 package net.sourceforge.phpdt.internal.formatter;
14 * Unchecked exception wrapping invalid input checked exception which may occur
15 * when scanning original formatted source.
19 public class AbortFormatting extends RuntimeException {
21 Throwable nestedException;
23 public AbortFormatting(String message) {
26 public AbortFormatting(Throwable nestedException) {
27 super(nestedException.getMessage());
28 this.nestedException = nestedException;