You may want to wrap that into a ``ignoring(classOf[JavaModelException])``, just in case calling ``delete`` throws an exception.