public class InvalidLookupException extends LookupException
LookupException denoting specifically that the
problem is a single result that is invalid or otherwise unexpected.getInvalidMatch(),
Serialized Form| Constructor and Description |
|---|
InvalidLookupException(java.lang.String msg,
java.lang.Object match)
Initializes me with a user-friendly message describing the nature of
the lookup that resulted in an unexpected match.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getInvalidMatch()
Obtains the invalid result of the look-up, or
null if the
look-up found no matches or multiple ambiguous matches. |
getAmbiguousMatches, getMatchesgetDiagnosticpublic InvalidLookupException(java.lang.String msg,
java.lang.Object match)
msg - the exception messagematch - the invalid object found by the lookuppublic java.lang.Object getInvalidMatch()
null if the
look-up found no matches or multiple ambiguous matches.null if the look-up
problem was not a matter of finding an invalid resultLookupException.getAmbiguousMatches()