Class DuplicateNameException

All Implemented Interfaces:
Serializable

public class DuplicateNameException extends UsrException
Exception thrown whenever a method tries give something a name and that name is already used.
See Also:
  • Constructor Details

    • DuplicateNameException

      public DuplicateNameException()
      constructs a new DuplicatenameException with a default message.
    • DuplicateNameException

      public DuplicateNameException(String usrMessage)
      construct a new DuplicateNameException with a given message.
      Parameters:
      usrMessage - overrides the default message.