KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is the following code bad practice? try //Try Overall Operation { try //Try section 1 of operation { } catch(exception ex) { //handle exception code //throw the exception } catch (exception ex) { // send soap exception back to SOAP client. } I know from a program review point of view, other developers seeing 2 tries nested directly like that might wonder why, but is it totally taboo, or is it accepted practice now days? Thanks Guys, I agree with you all about the refactoring, going to create a seperate method for the sub functionality, the method was getting really long. I am very impressed to all of you who picked this up...
Tags (comma-separated)
Save Edits
Cancel