de.cau.cs.kieler.core
Class KielerModelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.cau.cs.kieler.core.KielerModelException
- Direct Known Subclasses:
- DiagnosticException
public class KielerModelException
- extends Exception
An Exception that indicates problems with certain model elements. It carries
a reference to an arbitrary object that is supposed to be the causing model part.
- Rating

- (2010-01-19) proposed by haf
KielerModelException
public KielerModelException(String message,
Object thecausingModelObject)
- Parameters:
message
- exception messagethecausingModelObject
- the model object that has caused the exception.
Likely an EObject, if the metamodel is EMF.
KielerModelException
public KielerModelException(String message,
Object thecausingModelObject,
Exception cause)
- Parameters:
message
- exception messagethecausingModelObject
- the model object that has caused the exception.
Likely an EObject, if the metamodel is EMF.cause
- Causing Exception
getModelObject
public Object getModelObject()
- Returns:
- the model object that has caused this Exception. Likely to be an
EMF EObject if the used metamodeling framework is EMF.