Swallowed Exception

It has been observed an application can have a significant amount of unnoticed Exception swallowing occurring. These exceptions are of a benign nature that are not flaws in the functionality, however they are bad practices to leave occurring unnoticed. Unless monitored, it can grow unnoticed until it becomes significant enough to notice. By the time it is noticed it can be prolific in the code and will be a major job to deal with.

Exceptions have been observered with malformed URLs, XML parsers, Logging, JAXB, etc. Everytime an exception is created a collection is created and the stack trace is filled-in.

Recommend instrumenting Throwable to track swallowed exceptions.

Comments

Popular posts from this blog

Sites, Newsletters, and Blogs

Oracle JDBC ReadTimeout QueryTimeout