Solved

Java Programming question

Posted on 1997-08-29
1
177 Views
Last Modified: 2010-04-16
Hi there,
I am using VJ++ 1.1 development environment to program my application which is set of applets. I invoke these applets thr' html page. When I directly load them thr' browser, it works fine. But when I try to debug my application, the debugger gives an exception "Unhandled Exception in appletname x0000000: java exception" in the run() function while loading another applet.If I ignore it, it goes thr' fine. But I donot know why it is happening? Is there something wrong I am doing or it is a problem with the debugger? Help will be higly appreciated.
0
Comment
Question by:maha
1 Comment
 

Accepted Solution

by:
zik earned 30 total points
ID: 1226002
There is no problem with debugger. You are not catching/handling some Exception that may occur (maybe once a year) and produce
crash or unexpected program behaviour. Debbuger is giving you
warning that unhandled exception may happen.
If exception is not caught it propagates throught block structure all the way to the main()/init() method. It is wery important to
catch an exception and provide action neccessary to recover from
it.
Some exceptions are generally unrecoverable but normally terminated programs (with understandible error messages) are more enjoyable.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now