Article 5T8A9 [Exception-Handling] What is optional. <-- Full stop, not question mark. RANT !

[Exception-Handling] What is optional. <-- Full stop, not question mark. RANT !

by
Michael Uplawski
from LinuxQuestions.org on (#5T8A9)
I have corrected one of my shell scripts and succeeded to get it running again.

This is okay.

But the time it took me to
  1. understand that the reported errors weren't errors
  2. understand that the called program had no bug (other than the missing exception-handling)
  3. understand that the error was my own
  4. understand my error
  5. to correct the error
is NOT okay.

Question (Rant): What part of Exception-handling do you consider optional?

I always like to recall the OutOfMemory errors in Apache-Tomcat, where the Error was caught and the handling was done by
Code:{}(full code extract).

Aren't there any laws against such laxity?

Personally - believe it or not - I consider it my responsibility to react as a developer! Else, why did I start to program anything in the first place? Control-structures (if) exist and while I am at it, why not use them?

Thanks for reading.latest?d=yIl2AUoC8zA latest?i=bhanQHVa60A:T6fyI1ZTfAQ:F7zBnMy latest?i=bhanQHVa60A:T6fyI1ZTfAQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=bhanQHVa60A:T6fyI1ZTfAQ:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments