Adding JMCR-Stable version
[Benchmarks_CSolver.git] / JMCR-Stable / real-world application / jigsaw / src / org / w3c / tools / resources / store / UnknownResourceException.java
diff --git a/JMCR-Stable/real-world application/jigsaw/src/org/w3c/tools/resources/store/UnknownResourceException.java b/JMCR-Stable/real-world application/jigsaw/src/org/w3c/tools/resources/store/UnknownResourceException.java
new file mode 100644 (file)
index 0000000..5dd4665
--- /dev/null
@@ -0,0 +1,16 @@
+// UnknownResourceException.java\r
+// $Id: UnknownResourceException.java,v 1.1 2010/06/15 12:25:24 smhuang Exp $\r
+// (c) COPYRIGHT MIT and INRIA, 1996.\r
+// Please first read the full copyright statement in file COPYRIGHT.html\r
+\r
+package org.w3c.tools.resources.store ;\r
+\r
+import org.w3c.tools.resources.Resource;\r
+\r
+public class UnknownResourceException extends RuntimeException {\r
+\r
+    public UnknownResourceException (Resource resource) {\r
+       super("ResourceStore mismatch for resource "+resource.getIdentifier());\r
+    }\r
+\r
+}\r