org.eclipse.ocl.examples.xtext.base.cs2as
Class ExceptionAdapter

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterImpl
      extended by org.eclipse.ocl.examples.xtext.base.cs2as.ExceptionAdapter
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
Direct Known Subclasses:
EssentialOCLLinkingService.Ambiguities

public class ExceptionAdapter
extends org.eclipse.emf.common.notify.impl.AdapterImpl

An ExceptionAdapter may be attached to a CS Element to capture an exception for diagnosis of an unresolved proxy.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
 
Field Summary
 
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
 
Constructor Summary
ExceptionAdapter(java.lang.Exception exception)
           
 
Method Summary
 java.lang.String getErrorMessage()
           
 boolean isAdapterForType(java.lang.Object type)
           
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, notifyChanged, setTarget, unsetTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionAdapter

public ExceptionAdapter(java.lang.Exception exception)
Method Detail

isAdapterForType

public boolean isAdapterForType(java.lang.Object type)
Specified by:
isAdapterForType in interface org.eclipse.emf.common.notify.Adapter
Overrides:
isAdapterForType in class org.eclipse.emf.common.notify.impl.AdapterImpl

getErrorMessage

public java.lang.String getErrorMessage()