Hi,

I got to know it is recommended to throw Exception in test methods instead
of the specific sub class of it. But generally in methods the good practice
is to throw the exception of the specific sub class.

I'd like to know $subject.

Thank you.

-- 

*Manuri Amaya Perera*

*Software Engineer*

*WSO2 Inc.*

*Blog: http://manuriamayaperera.blogspot.com
<http://manuriamayaperera.blogspot.com>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to