public class ExceptionDuringPropagationEventArgs extends EventArgs
Constructor and Description |
---|
ExceptionDuringPropagationEventArgs(NumericalPropagationException exception,
JulianDate previousTime,
double[] previousState,
JulianDate currentDate,
double[] currentState,
PropagationEventTrigger trigger,
StepSizeInformation info)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getCurrentState()
Gets the raw state at the end of the current step when this event is fired.
|
JulianDate |
getCurrentTime()
Gets the time at the end of the current step when this event is fired.
|
NumericalPropagationException |
getException()
Gets the exception that occurred.
|
double[] |
getPreviousState()
Gets the raw state at the beginning of the current step.
|
JulianDate |
getPreviousTime()
Gets the time at the beginning of the current step.
|
StepSizeInformation |
getStepSizeInformation()
Gets information about the last step taken by the integrator.
|
PropagationEventTrigger |
getTrigger()
Gets information about which method triggered this event.
|
public ExceptionDuringPropagationEventArgs(NumericalPropagationException exception, @Nonnull JulianDate previousTime, double[] previousState, @Nonnull JulianDate currentDate, double[] currentState, @Nonnull PropagationEventTrigger trigger, @Nonnull StepSizeInformation info)
exception
- The exception that occurred, wrapped in a NumericalPropagationException
.previousTime
- The time at the beginning of the current step.previousState
- The raw state at the beginning of the current step.currentDate
- The time at the end of the current step when the event is fired.currentState
- The raw state at the end of the current step when the event is fired.trigger
- Indication of which method triggered this event.info
- Information about the last step taken by the integrator.public final NumericalPropagationException getException()
@Nonnull public final JulianDate getPreviousTime()
public final double[] getPreviousState()
@Nonnull public final JulianDate getCurrentTime()
public final double[] getCurrentState()
@Nonnull public final StepSizeInformation getStepSizeInformation()
@Nonnull public final PropagationEventTrigger getTrigger()