Yes.. It's better to throw exceptions for different types of errors.

On Sun, May 17, 2015 at 7:13 PM, Pubudu Gunatilaka <[email protected]> wrote:

> Hi,
>
> In the current implementation when deploying an application policy, it
> doesn't provide  a proper error message. For an example when trying to
> deploy already exist application policy, it shows as "Invalid Application
> Policy" as shown in below figure.
>
> To handle proper error messages, custom exceptions can be introduced in
> similar way which have done for both autoscaling policy and deployment
> policy. WDYT?
>
> Thank you!
>
> --
>
> *Pubudu Gunatilaka*
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
> mobile:  +94 77 4078049
>



-- 
Isuru Perera
Associate Technical Lead | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha

Reply via email to