Class MazeService.MazeExistsException

All Implemented Interfaces:
Serializable
Enclosing class:
MazeService

public static final class MazeService.MazeExistsException extends IllegalArgumentException
Reports a creation request conflicting with an existing saved maze name.

The exception retains the normalized name so the command layer can render its existing-maze message rather than a generic error. It is raised before new topology planning or terrain mutation is submitted.

See Also:
  • Constructor Details

    • MazeExistsException

      public MazeExistsException(String name)
  • Method Details

    • mazeName

      public String mazeName()