edu.cmu.sei.aadl.aadl2.properties
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.aadl2.properties.PropertyLookupException
                  extended by edu.cmu.sei.aadl.aadl2.properties.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(Element src, java.lang.String msg)
           
 
Method Summary
 Element getElement()
          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(Element src,
                             java.lang.String msg)
Method Detail

getElement

public final Element getElement()
Get the model element that triggered the exception.