Class PropertyBindingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.camel.RuntimeCamelException
org.apache.camel.PropertyBindingException
- All Implemented Interfaces:
Serializable
Error binding property to a bean.
- Since:
- 3.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyBindingException(Object target, @Nullable String propertyName, @Nullable Object value) PropertyBindingException(Object target, @Nullable String propertyName, @Nullable Object value, @Nullable String optionPrefix, @Nullable String optionKey, Throwable e) PropertyBindingException(Object target, @Nullable String propertyName, @Nullable Object value, Throwable e) PropertyBindingException(Object target, Throwable e) -
Method Summary
Methods inherited from class RuntimeCamelException
wrapRuntimeCamelException, wrapRuntimeExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PropertyBindingException
-
PropertyBindingException
public PropertyBindingException(Object target, @Nullable String propertyName, @Nullable Object value, Throwable e) - Parameters:
target- the target bean on which property binding failedpropertyName- the name of the property that could not be bound, ornullvalue- the value that could not be bound, ornulle- the cause of the failure
-
PropertyBindingException
-
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 failedpropertyName- the name of the property that could not be bound, ornullvalue- the value that could not be bound, ornulloptionPrefix- the option prefix used when resolving the property, ornulloptionKey- the option key used when resolving the property, ornulle- the cause of the failure
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
getTarget
-
getPropertyName
-
getValue
-
getOptionPrefix
-
getOptionKey
-