From 6fadbc9cd1fcf03d0b3630f772d91df149b70428 Mon Sep 17 00:00:00 2001 From: lresende Date: Wed, 11 Nov 2009 23:07:19 +0000 Subject: Moving 1.x branches git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835123 13f79535-47bb-0310-9956-ffa450edef68 --- .../sdohandgen/InvalidSymbolSDOException.java | 85 ---------------------- .../sdohandgen/MarketClosedSDOException.java | 78 -------------------- .../exceptions/sdohandgen/StockExceptionTest.java | 46 ------------ 3 files changed, 209 deletions(-) delete mode 100644 branches/sca-java-1.0.1/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/InvalidSymbolSDOException.java delete mode 100644 branches/sca-java-1.0.1/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/MarketClosedSDOException.java delete mode 100644 branches/sca-java-1.0.1/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/StockExceptionTest.java (limited to 'branches/sca-java-1.0.1/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen') diff --git a/branches/sca-java-1.0.1/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/InvalidSymbolSDOException.java b/branches/sca-java-1.0.1/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/InvalidSymbolSDOException.java deleted file mode 100644 index 1567aaba02..0000000000 --- a/branches/sca-java-1.0.1/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/InvalidSymbolSDOException.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * 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.tuscany.sca.test.exceptions.sdohandgen; - -import javax.xml.namespace.QName; - -import stockexceptiontestservice.scatesttool.InvalidSymbolFault; - -/** - * - */ -public class InvalidSymbolSDOException extends Exception { - private static final long serialVersionUID = -3824848763300476741L; - - public static final QName FAULT_ELEMENT = new QName("http://scatesttool.stockexceptiontestservice", "InvalidSymbolFault"); - - /** - * - */ - public InvalidSymbolSDOException() { - - } - - /** - * @param message - * @param faultInfo - */ - public InvalidSymbolSDOException(String message, InvalidSymbolFault faultInfo) { - super(message); - this.faultInfo = faultInfo; - - } - - /** - * @param cause - */ - public InvalidSymbolSDOException(InvalidSymbolFault faultInfo, Throwable cause) { - super(cause); - this.faultInfo = faultInfo; - - } - - /** - * @param message - * @param cause - */ - public InvalidSymbolSDOException(String message, InvalidSymbolFault faultInfo, Throwable cause) { - super(message, cause); - this.faultInfo = faultInfo; - - } - - // *** Below was hand added ... tooling needs to do this ***/ - - /** - * Java type that goes as soapenv:Fault detail element. - */ - private InvalidSymbolFault faultInfo; - - /** - * @return returns fault bean: - * org.apache.tuscany.sca.test.exceptions.impl.jaxb.InvalidSymbolFault - */ - public InvalidSymbolFault getFaultInfo() { - return faultInfo; - } - -} diff --git a/branches/sca-java-1.0.1/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/MarketClosedSDOException.java b/branches/sca-java-1.0.1/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/MarketClosedSDOException.java deleted file mode 100644 index 8b28a652b0..0000000000 --- a/branches/sca-java-1.0.1/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/MarketClosedSDOException.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * 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.tuscany.sca.test.exceptions.sdohandgen; - -import javax.xml.namespace.QName; - -/** - * - */ -public class MarketClosedSDOException extends Exception { - private static final long serialVersionUID = 7652466275656958031L; - - public static final QName FAULT_ELEMENT = - new QName("http://scatesttool.stockexceptiontestservice", "MarketClosedFault"); - - - /** - * Java type that goes as soapenv:Fault detail element. - */ - private int faultInfo; - - /** - * - */ - public MarketClosedSDOException() { - - } - - /** - * @param message - */ - public MarketClosedSDOException(String message, int faultInfo) { - super(message); - this.faultInfo = faultInfo; - } - - /** - * @param cause - */ - public MarketClosedSDOException(int faultInfo, Throwable cause) { - super(cause); - this.faultInfo = faultInfo; - } - - /** - * @param message - * @param cause - */ - public MarketClosedSDOException(String message, int faultInfo, Throwable cause) { - super(message, cause); - this.faultInfo = faultInfo; - } - - /** - * @return returns fault bean: int - */ - public int getFaultInfo() { - return faultInfo; - } - -} diff --git a/branches/sca-java-1.0.1/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/StockExceptionTest.java b/branches/sca-java-1.0.1/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/StockExceptionTest.java deleted file mode 100644 index add0f6193b..0000000000 --- a/branches/sca-java-1.0.1/itest/exceptions-cross-binding/src/main/java/org/apache/tuscany/sca/test/exceptions/sdohandgen/StockExceptionTest.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * 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. - */ -/** - * StockExceptionTest.java - * - * This file was auto-generated from WSDL - * by the Apache Axis2 version: #axisVersion# #today# - */ -package org.apache.tuscany.sca.test.exceptions.sdohandgen; - -import org.osoa.sca.annotations.Remotable; - -import stockexceptiontestservice.scatesttool.StockOffer; - -/* - * StockExceptionTest java interface - */ - -@Remotable -public interface StockExceptionTest { - - /** - * Auto generated method signatures - * - * @param param0 - */ - StockOffer stockQuoteOffer(StockOffer param0) - throws java.rmi.RemoteException, InvalidSymbolSDOException, MarketClosedSDOException; - -} -- cgit v1.2.3