Class CellCluster.ClusterCloseException

All Implemented Interfaces:
Serializable
Enclosing interface:
CellCluster

public static class CellCluster.ClusterCloseException extends IllegalStateException
The ClusterCloseException class represents an exception that is thrown when there is an issue closing a cell cluster within the hacking mini-game grid. This exception is specifically used to indicate that a cluster does not meet the necessary criteria to be closed, such as mismatched opening and closing symbols or an incomplete cluster. This class extends IllegalStateException to signal that the cluster is in an invalid state for the requested operation.
Since:
2024-07-01
Version:
1.1
Author:
Kheagen Haskins
See Also:
  • Constructor Details

    • ClusterCloseException

      public ClusterCloseException(CellCluster cluster, String s)
      Constructs a new ClusterCloseException with the specified detail message.
      Parameters:
      cluster - the cluster that failed to close.
      s - the detail message explaining the reason for the exception.