From 177b680d24c68f10b74d5dd3f95fb728f8b33590 Mon Sep 17 00:00:00 2001 From: Klaas Dellschaft Date: Mon, 12 Sep 2022 16:53:31 +0200 Subject: [PATCH] Fix: Use the correct description text when throwing a ForbiddenException --- .../org/wso2/charon3/core/exceptions/ForbiddenException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/charon-core/src/main/java/org/wso2/charon3/core/exceptions/ForbiddenException.java b/modules/charon-core/src/main/java/org/wso2/charon3/core/exceptions/ForbiddenException.java index 25d40bef1..085061cb0 100644 --- a/modules/charon-core/src/main/java/org/wso2/charon3/core/exceptions/ForbiddenException.java +++ b/modules/charon-core/src/main/java/org/wso2/charon3/core/exceptions/ForbiddenException.java @@ -23,7 +23,7 @@ public class ForbiddenException extends AbstractCharonException { public ForbiddenException() { - this(ResponseCodeConstants.DESC_CONFLICT); + this(ResponseCodeConstants.DESC_FORBIDDEN); } public ForbiddenException(String exception) {