Class Escalation

java.lang.Object
java.lang.Throwable
net.officefloor.frame.api.escalate.Escalation
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ManagedFunctionEscalation, ManagedObjectEscalation, ProcessCancelledEscalation

public abstract class Escalation extends Throwable

Internal failures within the OfficeFrame extend Escalation.

However, all Throwable instances thrown from ManagedFunction and ManagedObject instances are considered to follow the Escalation paradigm. This is that the invoker need not deal with Escalation instances, and these are handled by other ManagedFunction instances.

Author:
Daniel Sagenschneider
See Also:
  • Constructor Details

    • Escalation

      public Escalation()
      Default constructor.
    • Escalation

      public Escalation(Throwable cause)
      Allows for a cause of the Escalation.
      Parameters:
      cause - Cause of the Escalation.