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 87695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:26:35+00:00 2026-05-10T22:26:35+00:00

I have a question regarding handling errors in a J2EE application. Our current application

  • 0

I have a question regarding handling errors in a J2EE application. Our current application is in use by many many users and as a result we get a lot of support tickets. Most of these tickets are user-related but 5-10% are system related exceptions, unhandled errors, etc.

We have the basic exception handling checks in the code (needs works), but from my experience showing a generic message to the user doesn’t help the troubleshooting process to be expedited.

What I’m looking for is a recommendation on a good error handling design pattern so that let’s consider a scenario:

  1. Code has an error
  2. Error is handled
  3. User is shown a non-technical error message with a specific error code.
  4. Non-tech Support team can use this error code to see the area (page, section, ..) in the application where this happened and what the user might have been doing (information prepopulated by dev team in a customer support reference guide).
  5. Tech support team can use the code to zero right in on the class/JSP etc and line of code which trigged that exception.
  6. We use a logging module where most (not all) Tomcat stdout errors are logged by user session … to the error code the user will receive we can include the log ID if it exists as well so that the tech team can look at that too.

Basically what I’m interested is to reduce the support analysis-explanation-research cycle and give every department access to the information at their fingertips which can get them started faster for their respective jobs:

  1. Customer support can give a canned explanation for this error code or have alternative steps the user could follow.
  2. Tech team could start troubleshooting the line of code or what the user was doing which triggered that line.

Essential each error code triggers of the required next-steps for each department and in effect reducing the research phase of the issue and moving to the solution phase.

I’m not sure if the above is even a good idea. Any suggestions would be appreciated on a good ‘design pattern’ for such a need. Or if it would even be a good route to look at.

Thanks in advance.

SP

  • 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-10T22:26:36+00:00Added an answer on May 10, 2026 at 10:26 pm

    It sounds like you need to spend some serious time bucketing your support issues for some code triage. My experience has been that you can nearly always create a ‘top 10 list’ of items that are causing 50%+ of the support issues. After you’ve knocked off the first 10, reexamine the call logs. Data is imperative.

    A program dedicated to tackling the support issues and knocking them out of the park should be able to winnow down code issues fairly quickly. After which, you’ll be left with human/usability issues that have to be handled with training, experience, or typically some longer term workflow/usability refactoring.

    If you’re being swamped in errors for which you think you need to develop a list of error codes / conditions, it sounds like your product needs another 6 months of stabilization. You’re probably not developing an OS, and for 99% of projects developing an IBMesque black book of error codes is not the model to emulate.

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

Sidebar

Ask A Question

Stats

  • Questions 51k
  • Answers 51k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Another option, that I have looked at but not tried… May 11, 2026 at 6:22 am
  • added an answer It seems about as arbitrary as creating a partial class… May 11, 2026 at 6:22 am
  • added an answer I have done some internal bots for my company using… May 11, 2026 at 6:22 am

Top Members

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

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.