edu.cmu.sei.aadl.model.pluginsupport
Class InvalidModelException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.cmu.sei.aadl.model.properties.PropertyLookupException
                  extended by edu.cmu.sei.aadl.model.pluginsupport.InvalidModelException
All Implemented Interfaces:
java.io.Serializable

public class InvalidModelException
extends PropertyLookupException

Exception to be thrown that indicates that an action couldn't complete because the model is incomplete or otherwise invalid.

Author:
aarong
See Also:
Serialized Form

Constructor Summary
InvalidModelException(AObject src, java.lang.String msg)
           
 
Method Summary
 AObject getAObject()
          Get the model element that triggered the 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

InvalidModelException

public InvalidModelException(AObject src,
                             java.lang.String msg)
Method Detail

getAObject

public final AObject getAObject()
Get the model element that triggered the exception.