Class ProbeExceptionPrinter
- java.lang.Object
-
- fr.univ_artois.lgi2a.similar.microkernel.libs.abstractimpl.AbstractProbe
-
- fr.univ_artois.lgi2a.similar.microkernel.libs.probes.ProbeExceptionPrinter
-
- All Implemented Interfaces:
IProbe
public class ProbeExceptionPrinter extends AbstractProbe
A probe of the 'common libs' printing on the standard output the trace of an exception that was thrown during the execution of the simulation.- Author:
- Yoann Kubera
-
-
Constructor Summary
Constructors Constructor Description ProbeExceptionPrinter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
reactToError(String errorMessage, Throwable cause)
Reacts to an error thrown by the simulation engine.-
Methods inherited from class fr.univ_artois.lgi2a.similar.microkernel.libs.abstractimpl.AbstractProbe
endObservation, observeAtFinalTime, observeAtInitialTimes, observeAtPartialConsistentTime, prepareObservation, reactToAbortion
-
-
-
-
Method Detail
-
reactToError
public void reactToError(String errorMessage, Throwable cause)
Reacts to an error thrown by the simulation engine.- Specified by:
reactToError
in interfaceIProbe
- Overrides:
reactToError
in classAbstractProbe
cause
- The cause of the error.
-
-