Class ManagedObjectEscalation
java.lang.Object
java.lang.Throwable
net.officefloor.frame.api.escalate.Escalation
net.officefloor.frame.api.escalate.ManagedObjectEscalation
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ManagedObjectOperationTimedOutEscalation,SourceManagedObjectTimedOutEscalation
Escalation from managing a ManagedObject.
This enables generic handling of ManagedObject Escalation
failures.
- Author:
- Daniel Sagenschneider
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionManagedObjectEscalation(Class<?> objectType) Initiate.ManagedObjectEscalation(Class<?> objectType, 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
-
ManagedObjectEscalation
Initiate.- Parameters:
objectType-Classof theObjectreturned from the failedManagedObject.
-
ManagedObjectEscalation
Allows for a cause of theEscalation.- Parameters:
objectType-Classof theObjectreturned from the failedManagedObject.cause- Cause of theEscalation.
-
-
Method Details
-
getObjectType
- Returns:
Classof theObjectreturned from the failedManagedObject.
-