Class ExistingIdException

  • All Implemented Interfaces:
    Serializable

    public class ExistingIdException
    extends nzilbb.ag.StoreException
    Exception thrown when trying to create a record that already exists.
    Author:
    Robert Fromont robert@fromont.net.nz
    See Also:
    Serialized Form
    • Constructor Detail

      • ExistingIdException

        public ExistingIdException​(String id)
    • Method Detail

      • getId

        public String getId()
        Getter for id: The ID that cause the exception.
        Returns:
        The ID that cause the exception.
      • setId

        public ExistingIdException setId​(String newId)
        Setter for id: The ID that cause the exception.
        Parameters:
        newId - The ID that cause the exception.