public class AmbiguousLookupException extends LookupException
LookupException denoting specifically that the
problem is multiple ambiguous results.LookupException.getAmbiguousMatches(),
Serialized Form| Constructor and Description |
|---|
AmbiguousLookupException(String msg,
List<?> matches)
Initializes me with a user-friendly message describing the nature of
the lookup that resulted in multiple ambiguous matches.
|
AmbiguousLookupException(String msg,
Object firstMatch,
Object secondMatch,
Object... otherMatches)
Initializes me with a user-friendly message describing the nature of
the lookup failure and at least two objects that were ambiguous matches.
|
getAmbiguousMatches, getMatchesgetDiagnosticaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AmbiguousLookupException(String msg, List<?> matches)
msg - the exception messagematches - the objects found by the lookuppublic AmbiguousLookupException(String msg, Object firstMatch, Object secondMatch, Object... otherMatches)
msg - the exception messagefirstMatch - the first object found by the look-upsecondMatch - the second object found by the look-upotherMatches - any further objects found by the look-upCopyright © 2015 Open eHealth Foundation. All rights reserved.