When throw keyword is used?
Question : When throw keyword is used?
An exception can be thrown, either a newly instantiated one or an exception that you just caught, by using throw keyword.
An exception can be thrown, either a newly instantiated one or an exception that you just caught, by using throw keyword.