Commit 1d611e0a authored by Evan Ward's avatar Evan Ward

Add exception to EventHandler.init()

Allow an OrekitException to be thrown from EventHandler.init() like the other
methods.
parent 4b2926af
......@@ -83,8 +83,11 @@ public interface EventHandler<T extends EventDetector> {
* </p>
* @param initialState initial state
* @param target target date for the propagation
*
* @throws OrekitException if some specific error occurs
*/
default void init(SpacecraftState initialState, AbsoluteDate target) {
default void init(SpacecraftState initialState, AbsoluteDate target)
throws OrekitException {
// nothing by default
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment