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

  • SEARCH
  • Home
  • 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 102163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:54:37+00:00 2026-05-11T00:54:37+00:00

I was given a task of write the coding guidelines for my team, and

  • 0

I was given a task of write the coding guidelines for my team, and it was going great until my manager asked me to write an explanation of Why Error Handling is Important.

I know it instinctively, but how do I express this in words?

I tried to google it first but came up empty, so I now ask my fellow coding wizards.

  • 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. 2026-05-11T00:54:38+00:00Added an answer on May 11, 2026 at 12:54 am

    IMHO … most programs are very large, very complex and written by multiple people. This combination of factors almost always leads to some kind of software bug. It’s not that programmers are malicious, stupid or lazy … it’s just that in the rush to meet a deadline we often don’t forsee every possible thing that a user can do to our programs and something is bound to happen.

    In this respect error handling serves two purposes.

    • First, it lets the user know, in a relatively friendly manner, that something has gone wrong and that they should contact the technical support department or that someone from tech support has been notified. As we all know there’s a HUGE difference between receiving a rather nasty, tech riddled notice that says something like ‘Object not set to reference of an object’ etc. … and receiving a nice popup type window that says ‘There has been an issue. Please contact the helpdesk’.

    • Second it allows the programmer to put in some niceties to aid in the debugging of issues. For instance … in my code, I typically write a custom error handler that takes in a number of parameters and spits back a nice, formatted message that can either be emailed to the helpdesk, stashed in an event log, written to a log file etc.. The error message will contain as much info as I can cram in there to help me figure out what happened, stack traces, function parameters, database calls … you name it. I like verbose error messages to help me figure out what actually happened. The user never has to see any of it, they get the nice, friendly message above, letting them know that someone can figure out what’s going on.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm given a task to write a user authentication and login system in java.
I have been given a task to write a program to automatically create a
I am given task to write a script (or better yet, a daemon), that
I've been given the following task: An external source will write a name, datetime
I'm given a task to write an algorithm to compute the maximum two dimensional
I am grasping Node JS after already knowing Java. Given the task to write
I've been given the task to write a plugin for Trac. It should provide
Estimating how long any given task will take seems to be one of the
I was given a task to display when a record in the database was
I've been given the task of laying the groundwork of a SOA for my

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.