summaryrefslogtreecommitdiff
path: root/src/com/p4square/grow/frontend/NotFoundException.java
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2014-04-08 23:04:40 -0700
committerJesse Morgan <jesse@jesterpm.net>2014-04-08 23:04:40 -0700
commit45525336cbf2f648016682a1247c548631f91bdd (patch)
tree2b772dd68120feceefd35774e64ab13a6ee762cd /src/com/p4square/grow/frontend/NotFoundException.java
parent38c12cf70ef4714a7fc508f7fbaf44487ea971b7 (diff)
Fixing 500 on New Account Login Bug.
AccountRedirectResource was expecting the user to have a UserRecord, but new users did not have one. This caused JsonRequestProvider to throw an IOException and AccountRedirectResource to return 500. JsonRequestProvider now throws a NotFoundException on 404 and AccountRedirectResource properly handles it.
Diffstat (limited to 'src/com/p4square/grow/frontend/NotFoundException.java')
-rw-r--r--src/com/p4square/grow/frontend/NotFoundException.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/com/p4square/grow/frontend/NotFoundException.java b/src/com/p4square/grow/frontend/NotFoundException.java
new file mode 100644
index 0000000..dfa2a4c
--- /dev/null
+++ b/src/com/p4square/grow/frontend/NotFoundException.java
@@ -0,0 +1,13 @@
+/*
+ * Copyright 2014 Jesse Morgan
+ */
+
+package com.p4square.grow.frontend;
+
+import java.io.IOException;
+
+public class NotFoundException extends IOException {
+ public NotFoundException(final String message) {
+ super(message);
+ }
+}