KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
try { if (isFileDownloaded) // do stuff else throw new ApplicationException() } catch (Exception e) { // something went wrong to save the error to log } finally { //release resources } My question is would the catch catches the ApplicationException thrown in the try block? is it in poor coding style? Should it be written in another way?
Tags (comma-separated)
Save Edits
Cancel