Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3213194
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:55:01+00:00 2026-05-17T14:55:01+00:00

I prefer to have the rc error-code return style of error management. I agree

  • 0

I prefer to have the “rc” error-code return style of error management. I agree that this presents challenges that are better served by throw-catch, however, I still feel that I am not designing and implementing in a style that is clean and maintainable. So, I am looking for a good book that discusses the pattern and is not simply a reference book.

A bibliography of references would be fine too …

An excerpt from the answer below, “Practices of an Agile Programmer”, that I found especially striking:

**Keeping Your Balance**

• Determining who is responsible for handling an exception is part of design.
• Not all situations are exceptional.
• Report an exception that has meaning in the context of this code. A NullPointerException is pretty but just as useless as the null object described earlier.
• If the code writes a running debug log, issue a log message when an exception is caught or thrown; this will make tracking them down much easier.
• Checked exceptions can be onerous to work with. No one wants to call a method that throws thirty-one different checked exceptions. That’s a design error: fix it, don’t patch over it.
• Propagate what you can’t handle.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T14:55:01+00:00Added an answer on May 17, 2026 at 2:55 pm

    I have not found a book dedicated to exception handling, but there are some which deal with this topic at the length of a section or chapter.

    As a primer and for a language agnostic approach see [Martin, Ch. 7]. [McConnel, Ch. 8.4] also deals with exception handling on a very general basis. For addtionally good advices for the use of exceptions see [Subramaniam, Hunt, Ch. 36, 37]. I also found [Richter, Ch. 20] very useful although it is specific to .NET and C#. Nevertheless some sections are applicable to other languages, too.

    Recommendation: As an alternative approach to throwing exceptions and error-code return style of programming, do some research on the “Special Case Pattern” or “Null Object Pattern” in the WWW.

    • [Martin] Martin, C. R. (2008). Clean
      Code: A Handbook of Agile Software
      Craftsmanship. Prentice Hall
      International.
    • [McConnel] McConnel,
      S. (2004). Code Complete.
    • [Subramaniam, Hunt]
      Subramaniam, V., & Hunt, A. (2006).
      Practices of an Agile Developer.
      Pragmatic Programmers.
    • [Richter]
      Richter, J. (2010). CLR via C#.
      Microsoft Press.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some template code that I would prefer to have stored in a
I have some user controls that I'm loading in SharePoint and I would prefer
Do you have a default type that you prefer to use in your dealings
I have been considering using the code example shown at Shell Style Drag and
I have a Job Register Table and that table doesn't have any records. This
Coming from a Perl background, I have to say I prefer cpan Foo::Bar to
I'm doing some Android development, and I much prefer Visual Studio, but I'll have
I would much prefer to do this without catching an exception in LoadXml() and
In Python it's possible to create a procedure that has no explicit return. i.e.:
I'm working on some OLE DB code that runs queries on MS SQL Server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.