Package org.openhab.core.items
Class ItemNotUniqueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openhab.core.items.ItemLookupException
org.openhab.core.items.ItemNotUniqueException
- All Implemented Interfaces:
Serializable
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns all items that match the search patternMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ItemNotUniqueException
-
-
Method Details
-
getMatchingItems
Returns all items that match the search pattern- Returns:
- collection of items matching the search pattern
-