diff options
author | steckbrief <steckbrief@chefmail.de> | 2015-12-16 00:53:04 +0100 |
---|---|---|
committer | steckbrief <steckbrief@chefmail.de> | 2015-12-16 00:53:04 +0100 |
commit | c26335f3e366110366eb89025a42875bcb7840a9 (patch) | |
tree | f6ae254a0bf0a8ce2d9e43efd48a5eba6e454b4f /src/main/java/de/thedevstack/conversationsplus/exceptions/FileCopyException.java | |
parent | 556697c47e74766215c17fb5f721d71494a02643 (diff) |
Implements FS#19, FS#84; Introduces ImageResizeException, MessageUtil and distinguishes between image resizing and compressing/saving
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/exceptions/FileCopyException.java')
-rw-r--r-- | src/main/java/de/thedevstack/conversationsplus/exceptions/FileCopyException.java | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/exceptions/FileCopyException.java b/src/main/java/de/thedevstack/conversationsplus/exceptions/FileCopyException.java index 58363c0f..858b4563 100644 --- a/src/main/java/de/thedevstack/conversationsplus/exceptions/FileCopyException.java +++ b/src/main/java/de/thedevstack/conversationsplus/exceptions/FileCopyException.java @@ -1,14 +1,13 @@ package de.thedevstack.conversationsplus.exceptions; -public class FileCopyException extends Exception { +public class FileCopyException extends UiException { private static final long serialVersionUID = -1010013599132881427L; - private int resId; - public FileCopyException(int resId) { - this.resId = resId; - } + public FileCopyException(int resId) { + super(resId); + } - public int getResId() { - return resId; - } + public FileCopyException(int resId, Throwable e) { + super(resId, e); + } }
\ No newline at end of file |