Hi All,

Shall we revisit IdentityStore APIs? For an example addUser method[1]
throws IdentityStoreClientException and IdentityStoreServerException in
many cases where client cannot differentiate the reason. There will be
relevant error message but client cannot rely on error message to take
decisions.
IMO we should have proper exception hierarchy or error codes. I'm +1 to
have
exception hierarchy.

WDYT ?

[1]
https://github.com/wso2/carbon-identity-mgt/blob/master/components/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/impl/IdentityStoreImpl.java#L985

Thanks,
Gayan
-- 
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: [email protected]
Mobile: +94 (71) 8020933
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to