Home > Articles > Programming > Java

  • Print
  • + Share This
Like this article? We recommend


Remember the number one rule: There are always exceptions to the rule. Even though this article speaks in absolutes, there are no absolutes when it comes to programming, and there might be situations where it is proper to violate one of the suggestions above. If you do so, document it completely. Explain why you deviated to save the maintainer the trouble of retracing your steps.

Exceptions are a very powerful and useful tool in Java programming; when used correctly they help to create very robust software. Used incorrectly, however, and the results can be extremely unpredictable.

  • + Share This
  • 🔖 Save To Your Account