Solved

Java Programming question

Posted on 1997-08-29
1
175 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Protect jar file - windows app 2 39
PDFBox - convert image to PDF, PDF resolution 3 117
Java Timer (static) 9 36
replace a word with other 1 40
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

910 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

22 Experts available now in Live!

Get 1:1 Help Now