uk.ac.ucl.cs.emofocl.jmi
Class ResolutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by uk.ac.ucl.cs.emofocl.jmi.ResolutionException
All Implemented Interfaces:
Serializable

public class ResolutionException
extends Exception

Exception thrown when resolution of the suffix of a path fails in some context

Author:
James Skene
See Also:
Serialized Form

Constructor Summary
ResolutionException(MOFPackage originalContext, NamedElement failureContext, List path, int index)
           
 
Method Summary
 NamedElement getFailureContext()
           
 int getIndex()
           
 String getMessage()
           
 MOFPackage getOriginalContext()
           
 List getPath()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ResolutionException

public ResolutionException(MOFPackage originalContext,
                           NamedElement failureContext,
                           List path,
                           int index)
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getOriginalContext

public MOFPackage getOriginalContext()

getFailureContext

public NamedElement getFailureContext()

getPath

public List getPath()

getIndex

public int getIndex()