Hi All,
+1 to have an exception hierarchy, which carries information for specific
errors.

I think we should follow the way Java IO exceptions are done.

Cheers,
Ruwan


On Mon, Feb 27, 2017 at 9:58 AM, Gayan Gunawardana <[email protected]> wrote:

> 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
>



-- 

*Ruwan Abeykoon*
*Associate Director/Architect**,*
*WSO2, Inc. http://wso2.com <https://wso2.com/signature> *
*lean.enterprise.middleware.*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to