Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/NotPresentException.java')
-rw-r--r--org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/NotPresentException.java23
1 files changed, 1 insertions, 22 deletions
diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/NotPresentException.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/NotPresentException.java
index 8547df487f..270104a3f9 100644
--- a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/NotPresentException.java
+++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/NotPresentException.java
@@ -1,26 +1,5 @@
package org.eclipse.jdt.internal.core.builder;
-/*
- * (c) Copyright IBM Corp. 2000, 2001.
- * All Rights Reserved.
- */
-import org.eclipse.jdt.core.*;
-/**
- * Thrown when a method is invoked on a handle whose object
- * is not present. See <code>IHandle</code> for more details.
- *
- * This is an unchecked exception (a subclass of RuntimeException)
- * because most of the time, code can ignore it if it is known to be
- * navigating a state (see <code>IHandle</code> for more details).
- * In some situations however, such as creating handles, the user
- * would have to either
- * <ol>
- * <li>catch the exception, or</li>
- * <li>test with <code>isPresent()</code> before performing the operation.</li>
- * </ol>
- *
- * @see IHandle
- */
public class NotPresentException extends RuntimeException
{
@@ -34,7 +13,7 @@ public class NotPresentException extends RuntimeException
/**
* Constructs a <code>NotPresentException</code> with a detail message.
*
- * @param s the detail message.
+ * @param s the detail message.
*/
public NotPresentException(String s) {
super(s);

Back to the top