A DESCRIPTION OF THE REQUEST :
Timer's schedule() method or TimerTask's run() method should at most throw an exception.
JUSTIFICATION :
I'm calling the schedule method on my program and want the program to halt(cause it's an error) if the algorithm on run() creates an exception. Currently, there's no way for me to do this, except log it.
CUSTOMER SUBMITTED WORKAROUND :
I just log the error and hope it won't happen or the users will see the log and manually stop the program
Timer's schedule() method or TimerTask's run() method should at most throw an exception.
JUSTIFICATION :
I'm calling the schedule method on my program and want the program to halt(cause it's an error) if the algorithm on run() creates an exception. Currently, there's no way for me to do this, except log it.
CUSTOMER SUBMITTED WORKAROUND :
I just log the error and hope it won't happen or the users will see the log and manually stop the program