diff options
author | lookshe <github@lookshe.org> | 2016-03-16 18:45:18 +0100 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2016-03-16 18:45:18 +0100 |
commit | 0de9c2aa23990749360ee0e9f509e13a54b14137 (patch) | |
tree | 0bbe60a789f4e164bdab2b0628fe352c602b09a4 /src/main/java/de/thedevstack/conversationsplus/exceptions | |
parent | 76a1937745ed0281e817722ab0ce159546397b3c (diff) |
partially implements FS#161
do not show download button on 404
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/exceptions')
-rw-r--r-- | src/main/java/de/thedevstack/conversationsplus/exceptions/RemoteFileNotFoundException.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/exceptions/RemoteFileNotFoundException.java b/src/main/java/de/thedevstack/conversationsplus/exceptions/RemoteFileNotFoundException.java new file mode 100644 index 00000000..41a548cb --- /dev/null +++ b/src/main/java/de/thedevstack/conversationsplus/exceptions/RemoteFileNotFoundException.java @@ -0,0 +1,20 @@ +package de.thedevstack.conversationsplus.exceptions; + +import java.io.IOException; + +/** + * Created by lookshe on 15.03.16. + * + * Exception class if HTTP status code 404 occured + */ +public class RemoteFileNotFoundException extends IOException { + private static final long serialVersionUID = -1010013599132881427L; + + public RemoteFileNotFoundException() { + super(); + } + + public RemoteFileNotFoundException(Throwable e) { + super(e); + } +} |