summaryrefslogtreecommitdiff
path: root/src/com/p4square/grow/frontend/ErrorPage.java
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2014-02-22 18:15:15 -0800
committerJesse Morgan <jesse@jesterpm.net>2014-02-22 18:15:15 -0800
commit9323fd4f9077bd876e0e220fda6bfd2192dadd59 (patch)
treec8d7054d1710de70460b42d98fa3c87131762a1b /src/com/p4square/grow/frontend/ErrorPage.java
parent586e997fae3f7c262e3098a0c82b531f745db5ee (diff)
Adding support to post new messages.
Other Changes: * JsonEncodedProvider no longer implements Provider. * Only the first answer is shown. Others slide down. * Switch going deeper and the feed.
Diffstat (limited to 'src/com/p4square/grow/frontend/ErrorPage.java')
-rw-r--r--src/com/p4square/grow/frontend/ErrorPage.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/p4square/grow/frontend/ErrorPage.java b/src/com/p4square/grow/frontend/ErrorPage.java
index 5ae64d9..81abe74 100644
--- a/src/com/p4square/grow/frontend/ErrorPage.java
+++ b/src/com/p4square/grow/frontend/ErrorPage.java
@@ -36,6 +36,9 @@ public class ErrorPage extends WriterRepresentation {
public static final ErrorPage BACKEND_ERROR =
new ErrorPage("Error communicating with backend.");
+ public static final ErrorPage NOT_FOUND =
+ new ErrorPage("The requested URL could not be found.");
+
private static Template cTemplate = null;
private static Map<String, Object> cRoot = null;