edu.cmu.sei.aadl.model.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.model.properties.PropertyLookupException
                  extended by edu.cmu.sei.aadl.model.properties.PropertyDoesNotApplyToHolderException
All Implemented Interfaces:
java.io.Serializable

public class PropertyDoesNotApplyToHolderException
extends PropertyLookupException

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

Author:
jseibel
See Also:
Serialized Form

Constructor Summary
PropertyDoesNotApplyToHolderException(PropertyHolder holder, PropertyDefinition definition, java.lang.String msg)
           
 
Method Summary
 PropertyDefinition getDefinition()
           
 PropertyHolder 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(PropertyHolder holder,
                                             PropertyDefinition definition,
                                             java.lang.String msg)
Method Detail

getHolder

public final PropertyHolder getHolder()

getDefinition

public final PropertyDefinition getDefinition()