Index: model/org/eclipse/jdt/core/IClassFile.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IClassFile.java,v --- model/org/eclipse/jdt/core/IClassFile.java 16 Feb 2007 19:43:35 -0000 1.23 +++ model/org/eclipse/jdt/core/IClassFile.java 23 Feb 2007 15:46:25 -0000 @@ -90,13 +90,11 @@ byte[] getBytes() throws JavaModelException; /** * Returns the type contained in this class file. + * This is a handle-only method. The type may or may not exist. * * @return the type contained in this class file - * - * @exception JavaModelException if this element does not exist or if an - * exception occurs while accessing its corresponding resource */ -IType getType() throws JavaModelException; +IType getType(); /** * Returns a working copy on the source associated with this class file using the given * factory to create the buffer, or null if there is no source associated