KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > core > jdom > DOMException


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 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.jdt.core.jdom;
12
13 /**
14  * Unchecked exception thrown when an illegal manipulation of the JDOM is
15  * performed, or when an attempt is made to access/set an attribute of a
16  * JDOM node that source indexes cannot be determined for (in case the source
17  * was syntactically incorrect).
18  *
19  * @deprecated The JDOM was made obsolete by the addition in 2.0 of the more
20  * powerful, fine-grained DOM/AST API found in the
21  * org.eclipse.jdt.core.dom package.
22  */

23 public class DOMException extends RuntimeException JavaDoc {
24     
25     private static final long serialVersionUID = 2536853590795032028L; // backward compatible
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  * Creates a new exception with the given detail message.
34  *
35  * @param message the detail message
36  */

37 public DOMException(String JavaDoc message) {
38     super(message);
39 }
40 }
41
Popular Tags