bytemechanics/standalone-ignite

Add methods to process startup and shutdown exceptions

Closed this issue · 0 comments

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.