edu.cmu.sei.aadl.aadl2.properties
Class PropertyDoesNotApplyToHolderException

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.PropertyDoesNotApplyToHolderException
All Implemented Interfaces:
java.io.Serializable

public class PropertyDoesNotApplyToHolderException
extends PropertyLookupException

Exception indicating that a property lookup method was called for a Property that doesn't apply to the specified NamedElement.

Author:
jseibel
See Also:
Serialized Form

Constructor Summary
PropertyDoesNotApplyToHolderException(NamedElement holder, Property definition, java.lang.String msg)
           
 
Method Summary
 Property getDefinition()
           
 NamedElement getHolder()
           
 
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

PropertyDoesNotApplyToHolderException

public PropertyDoesNotApplyToHolderException(NamedElement holder,
                                             Property definition,
                                             java.lang.String msg)
Method Detail

getHolder

public final NamedElement getHolder()

getDefinition

public final Property getDefinition()