Class ManagedFunctionEscalation
- java.lang.Object
-
- java.lang.Throwable
-
- net.officefloor.frame.api.escalate.Escalation
-
- net.officefloor.frame.api.escalate.ManagedFunctionEscalation
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AsynchronousFlowTimedOutEscalation
public abstract class ManagedFunctionEscalation extends Escalation
Escalationfrom managing aManagedFunction.This enables generic handling of
ManagedFunctionEscalationfailures.- Author:
- Daniel Sagenschneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ManagedFunctionEscalation(java.lang.String managedFunctionName)Initiate.ManagedFunctionEscalation(java.lang.String managedFunctionName, java.lang.Throwable cause)Allows for a cause of theEscalation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetManagedFunctionName()Obtains the name of theManagedFunction.
-
-
-
Constructor Detail
-
ManagedFunctionEscalation
public ManagedFunctionEscalation(java.lang.String managedFunctionName)
Initiate.- Parameters:
managedFunctionName- Name of theManagedFunction.
-
ManagedFunctionEscalation
public ManagedFunctionEscalation(java.lang.String managedFunctionName, java.lang.Throwable cause)Allows for a cause of theEscalation.- Parameters:
managedFunctionName- Name of theManagedFunction.cause- Cause of theEscalation.
-
-
Method Detail
-
getManagedFunctionName
public java.lang.String getManagedFunctionName()
Obtains the name of theManagedFunction.- Returns:
- Name of the
ManagedFunction.
-
-