Please suggest the right way of using the constructor!!I m not just getting as to hw it works!!
I/m not clear about your doubt.What are you trying to say?
1.How to use the constructor
2.How to write your own exception
3.How to throw an exception from try block.
4.How throw works in try catch block