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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:50:19+00:00 2026-06-05T19:50:19+00:00

I am working on a large scale application. I carefully try to handle all

  • 0

I am working on a large scale application. I carefully try to handle all exceptions (and prevent them beforehand if possible). But as the application is large scale, sometimes some exceptions are thrown. When working in my development environment (i.e. starting the application from eclipse), I can see where the application occured, go there, and see what I can do about it. The problem is that – while developing – I have other people already “sort-of-test-working” with the application (inside the company). They give me a lot of feedback, which I like. Now if an exception is thrown in their application, there is no way for me to tell where this exception was created.

I have seen applications that show uncatched exceptions to the user over a dialog. While I surely don’t want this to happen in the customer version, it might be of great help if I could do that in the debug version. Is this possible?

In short: Is it possible to catch all thrown and uncatched exceptions of a multithreaded Java application?

EDIT: I was asked, how the code is run. I create a runnable jar in eclipse containing all the libraries and class files. Then I pack this jar into an executable using Launch4j. This executable is then used to run the application (it is packed into a setup.exe together with the ressource files using Innosetup, but I guess this is not so important).

Codewise, I have a ThreadManager that starts all neccessary classes (including gui), but does not neccessarily keep a handle to all those classes.

  • 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-06-05T19:50:21+00:00Added an answer on June 5, 2026 at 7:50 pm

    Use Thread.setDefaultUncaughtExceptionHandler() to handle all uncaught Exceptions.

    See this

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

Sidebar

Related Questions

So I am working an a large scale application. We are in the process
I am working with large size images and when I try to rotate them
I am working on a large-scale checkout application for a current project. This checkout
Currently I am working on a Large Scale Application which uses GWT with Hibenate.
I'm working on a large scale performance critical asp web application with a pretty
I am working on a large scale project where a custom (pretty good and
I have a large scale project I am working on at the moment using
I'm working on a large server application written using C++. This server needs to
I am working on a large scale Rails project, and the team I am
After working with a lot of GD recently (for some fairly large scale projects

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.