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; + } }