Package org.apache.camel.component.salesforce.internal.dto

Examples of org.apache.camel.component.salesforce.internal.dto.RestErrors


                    httpExchange.getResponseContent(), new TypeReference<List<RestError>>() {
                    }
                );
                return new SalesforceException(restErrors, httpExchange.getResponseStatus());
            } else {
                RestErrors errors = new RestErrors();
                xStream.fromXML(httpExchange.getResponseContent(), errors);
                return new SalesforceException(errors.getErrors(), httpExchange.getResponseStatus());
            }
        } catch (IOException e) {
            // log and ignore
            String msg = "Unexpected Error parsing " + format + " error response: " + e.getMessage();
            log.warn(msg, e);
View Full Code Here

TOP

Related Classes of org.apache.camel.component.salesforce.internal.dto.RestErrors

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.