System.err
, but my test still passed. What
happened?Verify that the exception was not thrown by the event thread. The event
thread does not propagate exceptions. Furthermore, the event thread is in a
separate thread group and the harness cannot catch exceptions thrown from there.
It is strongly recommended that all exceptions indicating failure of
the test be thrown from one of the methods called by the harness.
(i.e. init()
, start()
, stop()
,
destroy()
)