Repository: camel Updated Branches: refs/heads/master 5b63cf5a3 -> bc1663262
camel-http-common - as a common module Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/bc166326 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/bc166326 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/bc166326 Branch: refs/heads/master Commit: bc1663262294d60b1401ce52a273e9f79f66b3df Parents: 5b63cf5 Author: Claus Ibsen <davscl...@apache.org> Authored: Thu Jul 23 15:09:33 2015 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Thu Jul 23 15:09:33 2015 +0200 ---------------------------------------------------------------------- .../http/HttpOperationFailedException.java | 30 ++++++++++++++++++++ .../http4/HttpOperationFailedException.java | 30 ++++++++++++++++++++ 2 files changed, 60 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/bc166326/components/camel-http/src/main/java/org/apache/camel/component/http/HttpOperationFailedException.java ---------------------------------------------------------------------- diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpOperationFailedException.java b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpOperationFailedException.java new file mode 100644 index 0000000..8f5acaf --- /dev/null +++ b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpOperationFailedException.java @@ -0,0 +1,30 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.component.http; + +import java.util.Map; + +/** + * @deprecated use org.apache.camel.http.common.HttpOperationFailedException + */ +@Deprecated +public class HttpOperationFailedException extends org.apache.camel.http.common.HttpOperationFailedException { + + public HttpOperationFailedException(String uri, int statusCode, String statusText, String location, Map<String, String> responseHeaders, String responseBody) { + super(uri, statusCode, statusText, location, responseHeaders, responseBody); + } +} http://git-wip-us.apache.org/repos/asf/camel/blob/bc166326/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpOperationFailedException.java ---------------------------------------------------------------------- diff --git a/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpOperationFailedException.java b/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpOperationFailedException.java new file mode 100644 index 0000000..074c3a6 --- /dev/null +++ b/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpOperationFailedException.java @@ -0,0 +1,30 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.component.http4; + +import java.util.Map; + +/** + * @deprecated use org.apache.camel.http.common.HttpOperationFailedException + */ +@Deprecated +public class HttpOperationFailedException extends org.apache.camel.http.common.HttpOperationFailedException { + + public HttpOperationFailedException(String uri, int statusCode, String statusText, String location, Map<String, String> responseHeaders, String responseBody) { + super(uri, statusCode, statusText, location, responseHeaders, responseBody); + } +}