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
Escalation
from managing aManagedFunction
.This enables generic handling of
ManagedFunction
Escalation
failures.- 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.String
getManagedFunctionName()
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
.
-
-