01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 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.jdt.core.jdom;
11:
12: /**
13: * Unchecked exception thrown when an illegal manipulation of the JDOM is
14: * performed, or when an attempt is made to access/set an attribute of a
15: * JDOM node that source indexes cannot be determined for (in case the source
16: * was syntactically incorrect).
17: *
18: * @deprecated The JDOM was made obsolete by the addition in 2.0 of the more
19: * powerful, fine-grained DOM/AST API found in the
20: * org.eclipse.jdt.core.dom package.
21: */
22: public class DOMException extends RuntimeException {
23:
24: private static final long serialVersionUID = 2536853590795032028L; // backward compatible
25:
26: /**
27: * Creates a new exception with no detail message.
28: */
29: public DOMException() {
30: // just create a new DOMException with no detail message
31: }
32:
33: /**
34: * Creates a new exception with the given detail message.
35: *
36: * @param message the detail message
37: */
38: public DOMException(String message) {
39: super(message);
40: }
41: }
|