Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm working on old version of java(jre 1.6). While debugging the code getting an exception in thread class in the following line.

source = args[0];


code step over into the thread class.

private void dispatchUncaughtException(Throwable e) {
    getUncaughtExceptionHandler().uncaughtException(this, e);
}
Posted

1 solution

Can you post the piece of code where it is originating from?
Debugger is showing you how the Thread class's dispatchUncaughtException is called.
But is the exception getting printed? If yes, what is it?

More about uncaught exception handling here:
http://www.javamex.com/tutorials/exceptions/exceptions_uncaught_handler.shtml[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900