Sam Tregar wrote:
> [EMAIL PROTECTED] wrote:
> > Well, an unhandled exception in Java is death for the program.
>
> Yup. So all (potentially) exceptions are "fatal errors"? Well, that
> definition fits "almost meaningless" pretty well, in my opinion!
Not exactly. Java defines two clases of "throwables":
Exceptions, which must be caught if declared to be thrown
(the standard class libraries throw a lot of these), and
Errors, which are not normally caught.
The latter includes signal-like conditions such as
VirtualMachineError, LinkageError, and ThreadDeath.
--
John Porter