Package org.apache.camel

Examples of org.apache.camel.InvalidPropertyException


        } catch (Exception e) {
            throw new RuntimeCamelException(
                    "Failed to set property " + name + " with value " + value + " on endpoint " + endpoint + " due to " + e.getMessage(), e);
        }
        if (!answer) {
            throw new InvalidPropertyException(endpoint, name);
        }
    }
View Full Code Here


        }
    }

    protected void unknownPropertyName(String name) {
        if (isStrictOnParameterNames()) {
            throw new InvalidPropertyException(this, name, endpointClass);
        } else {
            LOG.warn("Using parameter " + name + " on endpoint " + getEndpointClass().getName()
                    + " which does not have a @UriParam annotation! "
                    + "Please add the @UriParam annotation to the " + name + " field");
        }
View Full Code Here

TOP

Related Classes of org.apache.camel.InvalidPropertyException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.