Class DeadlockException

All Implemented Interfaces:
Serializable

public final class DeadlockException extends RuntimeException
Thrown by ExecutionEngine when execution deadlocks — all remaining commands have unsatisfied conditions and cannot make progress.

Carries the stuck commands and the partially-built Unit so callers can introspect which symbols were unresolvable.

See Also:
  • Constructor Details

    • DeadlockException

      public DeadlockException(String message, List<Command> stuckCommands, Unit partialUnit)
  • Method Details

    • stuckCommands

      public List<Command> stuckCommands()
      Commands that could not execute due to unsatisfied conditions.
    • partialUnit

      public Unit partialUnit()
      The unit as it was at the moment of deadlock.