Class ItemNotUniqueException

All Implemented Interfaces:
Serializable

@NonNullByDefault public class ItemNotUniqueException extends ItemLookupException
This exception can be thrown whenever a search pattern does not uniquely identify an item. The list of matching items must be made available through this exception.
Author:
Kai Kreuzer - Initial contribution
See Also:
  • Constructor Details

  • Method Details

    • getMatchingItems

      public Collection<Item> getMatchingItems()
      Returns all items that match the search pattern
      Returns:
      collection of items matching the search pattern