Add methods to process startup and shutdown exceptions
Closed this issue · 0 comments
watarhu commented
In order to structure better the code add new methods:
public default <T extends Throwable> void onStartupException(final T _exception) throws T{
throw T;
}
and
public default <T extends Throwable> void onShutdownException(final T _exception) throws T{
throw T;
}
into Ignitable interface called once startup() and shutdown() methods fail.