Class ExceptionSimulationAborted
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- fr.univ_artois.lgi2a.similar.microkernel.libs.tools.engine.ExceptionSimulationAborted
-
- All Implemented Interfaces:
Serializable
public class ExceptionSimulationAborted extends RuntimeException
The exception thrown when the simulation has finished because it was aborted.- Author:
- Yoann Kubera
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExceptionSimulationAborted(SimulationTimeStamp lastConsistentTimeBeforeAbortion)
Builds an initialized instance of this exception, where the time stamp of the abortion is set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimulationTimeStamp
getLastConsistentTimeBeforeAbortion()
Gets the last time the simulation was half-consistent before the abortion of the simulation.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ExceptionSimulationAborted
public ExceptionSimulationAborted(SimulationTimeStamp lastConsistentTimeBeforeAbortion)
Builds an initialized instance of this exception, where the time stamp of the abortion is set.- Parameters:
lastConsistentTimeBeforeAbortion
- The last time the simulation was half-consistent before the abortion of the simulation.
-
-
Method Detail
-
getLastConsistentTimeBeforeAbortion
public SimulationTimeStamp getLastConsistentTimeBeforeAbortion()
Gets the last time the simulation was half-consistent before the abortion of the simulation.- Returns:
- The last time the simulation was half-consistent before the abortion of the simulation.
-
-