try{
return JavaRuntime.resolveRuntimeClasspathEntry(entry, configuration);
}catch(CoreException coreEx){
String message = coreEx.getMessage();
if(message != null && message.indexOf("does not exist") != -1 ){
throw new MissingClasspathEntryException(coreEx,entry);
}
throw coreEx;
}
}