/*******************************************************************************
 * Copyright (c) 2000, 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package net.sourceforge.phpdt.core.jdom;

/**
 * Unchecked exception thrown when an illegal manipulation of the JDOM is
 * performed, or when an attempt is made to access/set an attribute of a JDOM
 * node that source indexes cannot be determined for (in case the source was
 * syntactically incorrect).
 */
public class DOMException extends RuntimeException {
	/**
	 * Creates a new exception with no detail message.
	 */
	public DOMException() {
	}

	/**
	 * Creates a new exception with the given detail message.
	 * 
	 * @param message
	 *            the detail message
	 */
	public DOMException(String message) {
		super(message);
	}
}
