james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [4/6] james-project git commit: JAMES-2101 Affect max and used field in OverQuotaException
Date Tue, 08 Aug 2017 03:42:18 GMT
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 <btellier@linagora.com>
Authored: Fri Jul 28 11:22:31 2017 +0700
Committer: benwa <btellier@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


Mime
View raw message