Class PropertyBindingException

All Implemented Interfaces:
Serializable

public class PropertyBindingException extends RuntimeCamelException
Error binding property to a bean.
Since:
3.0
See Also:
  • Constructor Details

    • PropertyBindingException

      public PropertyBindingException(Object target, @Nullable String propertyName, @Nullable Object value)
      Parameters:
      target - the target bean on which property binding failed
      propertyName - the name of the property that could not be bound, or null
      value - the value that could not be bound, or null
    • PropertyBindingException

      public PropertyBindingException(Object target, @Nullable String propertyName, @Nullable Object value, Throwable e)
      Parameters:
      target - the target bean on which property binding failed
      propertyName - the name of the property that could not be bound, or null
      value - the value that could not be bound, or null
      e - the cause of the failure
    • PropertyBindingException

      public PropertyBindingException(Object target, Throwable e)
      Parameters:
      target - the target bean on which property binding failed
      e - the cause of the failure
    • PropertyBindingException

      public PropertyBindingException(Object target, @Nullable String propertyName, @Nullable Object value, @Nullable String optionPrefix, @Nullable String optionKey, Throwable e)
      Parameters:
      target - the target bean on which property binding failed
      propertyName - the name of the property that could not be bound, or null
      value - the value that could not be bound, or null
      optionPrefix - the option prefix used when resolving the property, or null
      optionKey - the option key used when resolving the property, or null
      e - the cause of the failure
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getTarget

      public Object getTarget()
    • getPropertyName

      public @Nullable String getPropertyName()
    • getValue

      public @Nullable Object getValue()
    • getOptionPrefix

      public @Nullable String getOptionPrefix()
    • getOptionKey

      public @Nullable String getOptionKey()