1 /*******************************************************************************
2 * Copyright (c) 2000, 2003 IBM Corporation 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.core.builder;
13 import org.eclipse.core.runtime.CoreException;
16 * Exception thrown when there is an internal error in the image builder. May
17 * wrapper another exception.
19 public class ImageBuilderInternalException extends RuntimeException {
24 private static final long serialVersionUID = 6513327092634795515L;
25 protected CoreException coreException;
27 public ImageBuilderInternalException(CoreException e) {
28 this.coreException = e;
31 public CoreException getThrowable() {
35 public void printStackTrace() {
36 if (coreException != null) {
37 System.err.println(this);
38 System.err.println("Stack trace of embedded core exception:"); //$NON-NLS-1$
39 coreException.printStackTrace();
41 super.printStackTrace();