Class FWSimulationErrorEvent

java.lang.Object
net.simplace.sim.event.FWSimulationEvent<Object>
net.simplace.sim.event.FWSimulationErrorEvent

public class FWSimulationErrorEvent extends FWSimulationEvent<Object>
Event for errors in a simulation or project; in addition to FWSimulationEvent it contains the exception. It has no percentage.
Author:
Andreas Enders
  • Constructor Details

    • FWSimulationErrorEvent

      public FWSimulationErrorEvent(FWSimModel aModel, Throwable aException)
      Parameters:
      aModel - the model of the failed simulation
      aException - the error
    • FWSimulationErrorEvent

      public FWSimulationErrorEvent(FWSimProject aProject, Throwable aException)
      Parameters:
      aProject - the failed project
      aException - the error
  • Method Details

    • getException

      public Throwable getException()
      Returns:
      the error