Class MachineIdOverflowException

All Implemented Interfaces:
Serializable

public class MachineIdOverflowException extends CosIdException
Exception thrown when machine ID cannot be allocated.

Indicates that all available machine IDs have been allocated and no more can be distributed.

See Also:
  • Constructor Details

    • MachineIdOverflowException

      public MachineIdOverflowException(int totalMachineIds, InstanceId instanceId)
      Creates a new exception.
      Parameters:
      totalMachineIds - the total number of available machine IDs
      instanceId - the instance that failed to get an ID
  • Method Details

    • getTotalMachineIds

      public int getTotalMachineIds()
      Gets the total number of machine IDs.
      Returns:
      the total machine IDs
    • getInstanceId

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