org.eclipse.ocl.common.internal.delegate
Class OCLDelegateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.emf.common.util.WrappedException
                  extended by org.eclipse.ocl.common.internal.delegate.OCLDelegateException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OCLDelegateException

public class OCLDelegateException
extends org.eclipse.emf.common.util.WrappedException

An OCLDelegateException wraps an exception that explains a problem that occurred during delegated evaluation.

For simple problems this class was once used directly rather than as a wrapper requiring the handler to determine whether a direct or wrapped exception was involved. It is intended that this should only be a wrapper consequently constructors permitting a non-null message are deprecated.

Code supporting the Classic LPG evaluator must be prepared to handle unwrapped exceptions.

See Also:
Serialized Form

Constructor Summary
OCLDelegateException(java.lang.Exception cause)
           
OCLDelegateException(java.lang.String message)
           
OCLDelegateException(java.lang.String message, java.lang.Exception cause)
           
 
Method Summary
 
Methods inherited from class org.eclipse.emf.common.util.WrappedException
exception
 
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

OCLDelegateException

public OCLDelegateException(java.lang.String message)

OCLDelegateException

public OCLDelegateException(java.lang.String message,
                            java.lang.Exception cause)

OCLDelegateException

public OCLDelegateException(@NonNull
                            java.lang.Exception cause)