|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.eclipse.ocl.ParserException
org.eclipse.ocl.SemanticException
org.eclipse.ocl.LookupException
org.eclipse.ocl.InvalidLookupException
public class InvalidLookupException
A specialized LookupException denoting specifically that the
problem is a single result that is invalid or otherwise unexpected.
getInvalidMatch(),
Serialized Form| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.eclipse.ocl.LookupException |
|---|
getAmbiguousMatches, getMatches |
| Methods inherited from class org.eclipse.ocl.ParserException |
|---|
getDiagnostic |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InvalidLookupException(java.lang.String msg,
java.lang.Object match)
msg - the exception messagematch - the invalid object found by the lookup| Method Detail |
|---|
public 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()
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||