diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2014-04-08 23:04:40 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2014-04-08 23:04:40 -0700 |
commit | 2ac76c7937ff462f99c5713ab99c6230a11cbcf5 (patch) | |
tree | d90fcd86c8a030fdf78f7c67d88120047e8b111b /src/com/p4square/grow/frontend/NotFoundException.java | |
parent | dcb9d839c9a30adc833af51e5c0f5a0df8175ce2 (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.java | 13 |
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); + } +} |