[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Threads
I normally store the error either directly in the class which extends
Thread or implements Runnable or in a helper class. Then when the
thread finishes, I query the error status. You will also need to
implement some notification scheme so that you can be alerted when the
thread finishes or at least if the thread finishes in error.
Cynthia Jeness
monel.a.amin@mail.sprint.com wrote:
> Hi All,
>
> How can I assign a Database(JDBC/ODBC) job inside the run method? I
> can't throw/handle any exceptions with run method.
>
> Any suggestions would be extremely helpfull.
>
> Thanks,
> Monel.
- References:
- Threads
- From: monel.a.amin@mail.sprint.com