Class ManagedFunctionEscalation
java.lang.Object
java.lang.Throwable
net.officefloor.frame.api.escalate.Escalation
net.officefloor.frame.api.escalate.ManagedFunctionEscalation
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AsynchronousFlowTimedOutEscalation
Escalation from managing a ManagedFunction.
This enables generic handling of ManagedFunction Escalation
failures.
- Author:
- Daniel Sagenschneider
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionManagedFunctionEscalation(String managedFunctionName) Initiate.ManagedFunctionEscalation(String managedFunctionName, Throwable cause) Allows for a cause of theEscalation. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ManagedFunctionEscalation
Initiate.- Parameters:
managedFunctionName- Name of theManagedFunction.
-
ManagedFunctionEscalation
Allows for a cause of theEscalation.- Parameters:
managedFunctionName- Name of theManagedFunction.cause- Cause of theEscalation.
-
-
Method Details
-
getManagedFunctionName
Obtains the name of theManagedFunction.- Returns:
- Name of the
ManagedFunction.
-