public class MultiDomainNoCompatibleProviderFoundException extends JoynrRuntimeException
NoCompatibleProviderFoundException for any of
the domains being queried. It contains a map from domain to the specific NoCompatibleProviderFoundException
information for that domain.| Constructor and Description |
|---|
MultiDomainNoCompatibleProviderFoundException(Map<String,NoCompatibleProviderFoundException> exceptionsByDomain)
Constructor which takes the map of domains to
NoCompatibleProviderFoundException. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Set<Version> |
getDiscoveredVersionsForDomain(String domain)
Returns the set of versions which were discovered for a given domain.
|
Set<String> |
getDomainsWithExceptions()
Gets a set of domains for which we have
NoCompatibleProviderFoundException information available. |
NoCompatibleProviderFoundException |
getExceptionForDomain(String domain)
Returns the
NoCompatibleProviderFoundException for the given domain if one exists. |
Map<String,NoCompatibleProviderFoundException> |
getExceptionsByDomain()
Gets the map of domains to
NoCompatibleProviderFoundException. |
boolean |
hasExceptionForDomain(String domain)
Checks to see if information is available for a given domain.
|
int |
hashCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MultiDomainNoCompatibleProviderFoundException(Map<String,NoCompatibleProviderFoundException> exceptionsByDomain)
NoCompatibleProviderFoundException.exceptionsByDomain - the exceptions keyed by domain.public Map<String,NoCompatibleProviderFoundException> getExceptionsByDomain()
NoCompatibleProviderFoundException.public Set<String> getDomainsWithExceptions()
NoCompatibleProviderFoundException information available.public boolean hasExceptionForDomain(String domain)
domain - the domain to check for.true if there is information available for the domain in the form of a
no compatible provider found exception or false
otherwise.public NoCompatibleProviderFoundException getExceptionForDomain(String domain)
NoCompatibleProviderFoundException for the given domain if one exists.domain - the domain for which to get the NoCompatibleProviderFoundException.null if not.public Set<Version> getDiscoveredVersionsForDomain(String domain)
domain - the domain for which to return the set of versions which were found by that domain.null.public int hashCode()
hashCode in interface JoynrExceptionhashCode in class JoynrRuntimeExceptionpublic boolean equals(Object obj)
equals in interface JoynrExceptionequals in class JoynrRuntimeExceptionCopyright © 2021. All rights reserved.