Class InvalidPropertyException

All Implemented Interfaces:
Serializable

public class InvalidPropertyException extends RuntimeCamelException
An exception caused when an invalid property name is used on an object
See Also:
  • Constructor Details

    • InvalidPropertyException

      public InvalidPropertyException(@Nullable Object owner, String propertyName)
      Parameters:
      owner - the object that does not have the property
      propertyName - the name of the property that could not be found
    • InvalidPropertyException

      public InvalidPropertyException(@Nullable Object owner, String propertyName, Class<?> type)
      Parameters:
      owner - the object that does not have the property
      propertyName - the name of the property that could not be found
      type - the type of the object being inspected
  • Method Details

    • getPropertyName

      public String getPropertyName()
    • getOwner

      public @Nullable Object getOwner()