Index: trunk/src/org/openstreetmap/josm/io/CachedFile.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/CachedFile.java	(revision 7889)
+++ trunk/src/org/openstreetmap/josm/io/CachedFile.java	(revision 7890)
@@ -179,5 +179,5 @@
                 return is;
             } else {
-                throw new IllegalStateException("No file found for something different from a resource: "+name);
+                throw new IOException("No file found for: "+name);
             }
         }
