You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2017/08/08 03:42:18 UTC

[4/6] james-project git commit: JAMES-2101 Affect max and used field in OverQuotaException

JAMES-2101 Affect max and used field in OverQuotaException


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/56beed22
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/56beed22
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/56beed22

Branch: refs/heads/master
Commit: 56beed22748ca13f975d401846b2eb56e7694bcd
Parents: 797660c
Author: benwa <bt...@linagora.com>
Authored: Fri Jul 28 11:22:31 2017 +0700
Committer: benwa <bt...@linagora.com>
Committed: Tue Aug 8 10:39:51 2017 +0700

----------------------------------------------------------------------
 .../org/apache/james/mailbox/exception/OverQuotaException.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/56beed22/mailbox/api/src/main/java/org/apache/james/mailbox/exception/OverQuotaException.java
----------------------------------------------------------------------
diff --git a/mailbox/api/src/main/java/org/apache/james/mailbox/exception/OverQuotaException.java b/mailbox/api/src/main/java/org/apache/james/mailbox/exception/OverQuotaException.java
index 56bdfc8..e1ad77b 100644
--- a/mailbox/api/src/main/java/org/apache/james/mailbox/exception/OverQuotaException.java
+++ b/mailbox/api/src/main/java/org/apache/james/mailbox/exception/OverQuotaException.java
@@ -36,6 +36,8 @@ public class OverQuotaException extends MailboxException{
 
     public OverQuotaException(String msg, long max, long used) {
         super(msg);
+        this.used = used;
+        this.max = max;
     }
     public OverQuotaException(long max, long used) {
         this(null, max, used);


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org