Class DuplicateCharacterException

All Implemented Interfaces:
Serializable

public class DuplicateCharacterException extends RuntimeException
Thrown when an application attempts to add a duplicate character (either opening or closing).
See Also:
  • Constructor Details

    • DuplicateCharacterException

      public DuplicateCharacterException(String s)
      Constructs a DuplicateCharacterException with the specified detail message.
      Parameters:
      s - the detail message