Introduce namespace support
[lgpl/argeo-commons.git] / org.argeo.api / src / org / argeo / api / gcr / ContentNotFoundException.java
diff --git a/org.argeo.api/src/org/argeo/api/gcr/ContentNotFoundException.java b/org.argeo.api/src/org/argeo/api/gcr/ContentNotFoundException.java
new file mode 100644 (file)
index 0000000..8a09093
--- /dev/null
@@ -0,0 +1,16 @@
+package org.argeo.api.gcr;
+
+/** When a countent was requested which does not exists, equivalent to HTTP code 404.*/
+public class ContentNotFoundException extends RuntimeException {
+       private static final long serialVersionUID = -8629074900713760886L;
+
+       public ContentNotFoundException(String message, Throwable cause) {
+               super(message, cause);
+       }
+
+       public ContentNotFoundException(String message) {
+               super(message);
+       }
+
+       
+}