Producing content that a reasonable developer might want to read


Those familiar with the Java programming language understand the negative connotations of an exception. According to the official Java documentation, an exception “indicates conditions that a reasonable application might want to catch.” The Perl glossary defines an exception simply as “a fancy term for an error.” An unexpected NullPointerException is the last thing any developer wants to see when demonstrating a new capability.

Those familiar with object-oriented programming should be acquainted with the factory design pattern as a common approach to abstracting object creation. Implementing a factory delegates the details of object construction to common location, decoupling configuration and interaction.

With that background, ExceptionFactory could serve as a humorous pejorative describing the frequent production of error conditions. With the malleability of the English language, however, an exception can also indicate something outside the ordinary. The present goal is to produce less of the former and more of the latter.