DEV Community

loading...

Discussion on: try..catch..finally - Real example

318097 profile image
Mehul Lakhanpal Author

You need it in try also then. And btw just an example. What if you need to execute more than 1 statement after the process. I cant copy paste in both try and catch block.