net.simplace.simulation.event.FWSimModelErrorEvent

Model event is created for exceptional cases. Within the FWSimModelListener implementation all data available in the model can be accessed and modified. FWSimModelErrorEvent extends this class and contains additional exception information.


public class FWSimModelErrorEvent extends FWSimModelEvent {
// Public Constructors
public FWSimModelErrorEvent(FWSimModel aModel, Throwable aException);


// Public Instance Methods
public Throwable getException();


returns the exception


}



Hierarchy: java.lang.Object - FWSimModelEvent - FWSimModelErrorEvent



Passed to: net.simplace.simulation.FWSimSession.handleModelErrorEvent(), net.simplace.processors.LoopSimModelRunProcessor.modelErrored(), FWSimModelListener.modelErrored()