Class MachineIdLostException

All Implemented Interfaces:
Serializable

public class MachineIdLostException extends CosIdException
Exception thrown when a machine ID is lost.

Indicates that a machine ID that was previously allocated can no longer be found in the distributed store.

See Also:
  • Constructor Details

    • MachineIdLostException

      public MachineIdLostException(String namespace, InstanceId instanceId, @Nullable MachineState machineState)
      Creates a new exception.
      Parameters:
      namespace - the namespace
      instanceId - the instance ID
      machineState - the machine state (may be null)
  • Method Details

    • getNamespace

      public String getNamespace()
      Gets the namespace.
      Returns:
      the namespace
    • getInstanceId

      public InstanceId getInstanceId()
      Gets the instance ID.
      Returns:
      the instance ID
    • getMachineState

      public MachineState getMachineState()
      Gets the machine state.
      Returns:
      the machine state