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
commit42503d407a5ec4efdb61a4d009f1bd46ffc8a965 (patch)
tree59933de4d81225f748a218f84c80f5e3edea77ce /src/com/p4square/grow/frontend/ErrorPage.java
parent9526fe75f2343e50f35c436dc0b4a4beb7de7eff (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 39aae93..61f6a35 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;