From 145665f1cdeb54fc3411641c8d9b3bf684544a4a Mon Sep 17 00:00:00 2001 From: Thisara-Welmilla Date: Wed, 4 Dec 2024 09:29:37 +0530 Subject: [PATCH] Added new method for IdentityProviderManagementClientException. --- .../IdentityProviderManagementClientException.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/IdentityProviderManagementClientException.java b/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/IdentityProviderManagementClientException.java index b5b52eab9f24..5ca8b712efa1 100644 --- a/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/IdentityProviderManagementClientException.java +++ b/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/IdentityProviderManagementClientException.java @@ -23,6 +23,8 @@ */ public class IdentityProviderManagementClientException extends IdentityProviderManagementException { + private String description; + public IdentityProviderManagementClientException(String message) { super(message); @@ -42,4 +44,15 @@ public IdentityProviderManagementClientException(String errorCode, String messag super(errorCode, message, throwable); } + + public IdentityProviderManagementClientException(String errorCode, String message, String description) { + + super(errorCode, message); + this.description = description; + } + + public String getDescription() { + + return description; + } }