This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 6004806957fd98ebb049ae0da7627143a92c2e87
Author: LanKhuat <[email protected]>
AuthorDate: Wed Jul 29 17:28:07 2020 +0700

    JAMES-3351 Add message to UnauthorizedException
---
 .../org/apache/james/jmap/exceptions/UnauthorizedException.java   | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git 
a/server/protocols/jmap/src/main/java/org/apache/james/jmap/exceptions/UnauthorizedException.java
 
b/server/protocols/jmap/src/main/java/org/apache/james/jmap/exceptions/UnauthorizedException.java
index b9fd26a..b33853f 100644
--- 
a/server/protocols/jmap/src/main/java/org/apache/james/jmap/exceptions/UnauthorizedException.java
+++ 
b/server/protocols/jmap/src/main/java/org/apache/james/jmap/exceptions/UnauthorizedException.java
@@ -20,10 +20,12 @@
 package org.apache.james.jmap.exceptions;
 
 public class UnauthorizedException extends RuntimeException {
-    public UnauthorizedException() {
+
+    public UnauthorizedException(String message) {
+        super(message);
     }
 
-    public UnauthorizedException(Throwable cause) {
-        super(cause);
+    public UnauthorizedException(String message, Throwable throwable) {
+        super(message, throwable);
     }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to