aboutsummaryrefslogtreecommitdiff
path: root/juick-server-web/src/main/java/com/juick/server/util/HttpNotFoundException.java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server-web/src/main/java/com/juick/server/util/HttpNotFoundException.java')
-rw-r--r--juick-server-web/src/main/java/com/juick/server/util/HttpNotFoundException.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/juick-server-web/src/main/java/com/juick/server/util/HttpNotFoundException.java b/juick-server-web/src/main/java/com/juick/server/util/HttpNotFoundException.java
new file mode 100644
index 00000000..942d90e2
--- /dev/null
+++ b/juick-server-web/src/main/java/com/juick/server/util/HttpNotFoundException.java
@@ -0,0 +1,15 @@
+package com.juick.server.util;
+
+import org.apache.commons.lang3.StringUtils;
+import org.springframework.http.HttpStatus;
+import org.springframework.web.bind.annotation.ResponseStatus;
+
+/**
+ * Created by vt on 24/11/2016.
+ */
+@ResponseStatus(value = HttpStatus.NOT_FOUND)
+public class HttpNotFoundException extends RuntimeException {
+ public HttpNotFoundException() {
+ super(StringUtils.EMPTY, null, false, false);
+ }
+}