public interface Service
extends java.lang.Runnable
is a Runnable
that catches and stores exceptions
thrown in its run()
method such that getException()
can return it.
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
objects implementing this interface should return any exception
worth reporting that happened during
run() . |