Class ManagedObjectEscalation
- java.lang.Object
-
- java.lang.Throwable
-
- net.officefloor.frame.api.escalate.Escalation
-
- net.officefloor.frame.api.escalate.ManagedObjectEscalation
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ManagedObjectOperationTimedOutEscalation
,SourceManagedObjectTimedOutEscalation
public abstract class ManagedObjectEscalation extends Escalation
Escalation
from managing aManagedObject
.This enables generic handling of
ManagedObject
Escalation
failures.- Author:
- Daniel Sagenschneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ManagedObjectEscalation(java.lang.Class<?> objectType)
Initiate.ManagedObjectEscalation(java.lang.Class<?> objectType, 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.Class<?>
getObjectType()
-
-
-
Constructor Detail
-
ManagedObjectEscalation
public ManagedObjectEscalation(java.lang.Class<?> objectType)
Initiate.- Parameters:
objectType
-Class
of theObject
returned from the failedManagedObject
.
-
ManagedObjectEscalation
public ManagedObjectEscalation(java.lang.Class<?> objectType, java.lang.Throwable cause)
Allows for a cause of theEscalation
.- Parameters:
objectType
-Class
of theObject
returned from the failedManagedObject
.cause
- Cause of theEscalation
.
-
-
Method Detail
-
getObjectType
public java.lang.Class<?> getObjectType()
- Returns:
Class
of theObject
returned from the failedManagedObject
.
-
-