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
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 Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.reliability.MarkovFailureType
Retrieves the failure type identification.static void
raise
(SimuComModel model, org.palladiosimulator.reliability.MarkovFailureType failureType) Indicates a failure-on-demand occurrence of the given failure type.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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
-