Class FailureException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.uka.ipd.sdq.simucomframework.exceptions.FailureException
All Implemented Interfaces:
Serializable

public class FailureException extends RuntimeException
Represents a failure-on-demand occurrence during the simulation. This mechanism is used in the simulation to indicate that a failure-on-demand has occurred during service execution. The executing SimProcess (an OpenWorkloadUser, ClosedWorkloadUser or ForkedBehaviourProcess) cancels its associated control and data flow. The central FailureStatistics object is updated to log the failure-on-demand occurrence.
See Also:
  • Method Details

    • raise

      public static void raise(SimuComModel model, org.palladiosimulator.reliability.MarkovFailureType failureType)
      Indicates a failure-on-demand occurrence of the given failure type.
      Parameters:
      failureType - the failure type identification.
    • getFailureType

      public org.palladiosimulator.reliability.MarkovFailureType getFailureType()
      Retrieves the failure type identification.
      Returns:
      the failure type identification