Repository: juddi Updated Branches: refs/heads/master 2fd5d43d9 -> 4f63c9cb7
JUDDI-966 sources jars are fixed JUDDI-965 exception is now logged and thrown Project: http://git-wip-us.apache.org/repos/asf/juddi/repo Commit: http://git-wip-us.apache.org/repos/asf/juddi/commit/4f63c9cb Tree: http://git-wip-us.apache.org/repos/asf/juddi/tree/4f63c9cb Diff: http://git-wip-us.apache.org/repos/asf/juddi/diff/4f63c9cb Branch: refs/heads/master Commit: 4f63c9cb7a749ed1eefaecb4673786aa1595a4a1 Parents: 2fd5d43 Author: Alex <[email protected]> Authored: Sun Sep 11 12:28:19 2016 -0400 Committer: Alex <[email protected]> Committed: Sun Sep 11 12:28:19 2016 -0400 ---------------------------------------------------------------------- .../org/apache/juddi/v3/client/config/UDDIClerk.java | 15 +++++++++++++++ pom.xml | 9 +++++---- uddi-tck/pom.xml | 2 +- .../v3_service/DispositionReportFaultMessage.java | 5 ++++- 4 files changed, 25 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/juddi/blob/4f63c9cb/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java ---------------------------------------------------------------------- diff --git a/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java b/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java index 3c8b26b..f500a52 100644 --- a/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java +++ b/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java @@ -784,6 +784,8 @@ public class UDDIClerk implements Serializable { } catch (UndeclaredThrowableException ute) { DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute); checkForErrorInDispositionReport(report, null, null); + }catch (Throwable t){ + throw new RemoteException("Unhandled exception", t); } return null; } @@ -846,6 +848,8 @@ public class UDDIClerk implements Serializable { } catch (UndeclaredThrowableException ute) { DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute); checkForErrorInDispositionReport(report, null, null); + }catch (Throwable t){ + throw new RemoteException("Unhandled exception", t); } return null; } @@ -930,6 +934,8 @@ public class UDDIClerk implements Serializable { } catch (UndeclaredThrowableException ute) { DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute); checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, serviceKey); + }catch (Throwable t){ + throw new RemoteException("Unhandled exception", t); } return null; } @@ -1015,6 +1021,8 @@ public class UDDIClerk implements Serializable { } catch (UndeclaredThrowableException ute) { DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute); checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, bindingKey); + }catch (Throwable t){ + throw new RemoteException("Unhandled exception", t); } return null; } @@ -1096,6 +1104,8 @@ public class UDDIClerk implements Serializable { } catch (UndeclaredThrowableException ute) { DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute); checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, businessKey); + }catch (Throwable t){ + throw new RemoteException("Unhandled exception", t); } return null; } @@ -1131,6 +1141,8 @@ public class UDDIClerk implements Serializable { } catch (UndeclaredThrowableException ute) { DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute); checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, businessKey); + }catch (Throwable t){ + throw new RemoteException("Unhandled exception", t); } return null; } @@ -1843,8 +1855,11 @@ public class UDDIClerk implements Serializable { } catch (UndeclaredThrowableException ute) { DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute); checkForErrorInDispositionReport(report, null, null); + } catch (Throwable t){ + throw new RemoteException("Unhandled exception", t); } return null; + } } http://git-wip-us.apache.org/repos/asf/juddi/blob/4f63c9cb/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 5012aa1..b4c558b 100644 --- a/pom.xml +++ b/pom.xml @@ -176,8 +176,8 @@ under the License. <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <source>1.6</source> - <target>1.6</target> + <source>1.7</source> + <target>1.7</target> </configuration> </plugin> <plugin> @@ -195,7 +195,7 @@ under the License. <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> - <version>2.3.5</version> + <version>2.3.6</version> <extensions>true</extensions> <configuration> <classifier>${envClassifier}</classifier> @@ -428,7 +428,7 @@ under the License. <dependency> <groupId>org.apache.apache.resources</groupId> <artifactId>apache-source-release-assembly-descriptor</artifactId> - <version>1.0.4</version> + <version>1.0.6</version> </dependency> </dependencies> <executions> @@ -460,6 +460,7 @@ under the License. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> + <version>2.0.3</version> <executions> <execution> <id>attach-sources</id> http://git-wip-us.apache.org/repos/asf/juddi/blob/4f63c9cb/uddi-tck/pom.xml ---------------------------------------------------------------------- diff --git a/uddi-tck/pom.xml b/uddi-tck/pom.xml index 2f692d3..94eb5d1 100644 --- a/uddi-tck/pom.xml +++ b/uddi-tck/pom.xml @@ -368,7 +368,7 @@ <phase>verify</phase> <goals> <goal>jar</goal> - <goal>generated-test-jar</goal> + <goal>test-jar</goal> </goals> </execution> </executions> http://git-wip-us.apache.org/repos/asf/juddi/blob/4f63c9cb/uddi-ws/src/main/java/org/uddi/v3_service/DispositionReportFaultMessage.java ---------------------------------------------------------------------- diff --git a/uddi-ws/src/main/java/org/uddi/v3_service/DispositionReportFaultMessage.java b/uddi-ws/src/main/java/org/uddi/v3_service/DispositionReportFaultMessage.java index b27a2f4..62b6c93 100644 --- a/uddi-ws/src/main/java/org/uddi/v3_service/DispositionReportFaultMessage.java +++ b/uddi-ws/src/main/java/org/uddi/v3_service/DispositionReportFaultMessage.java @@ -29,6 +29,8 @@ import javax.xml.ws.soap.SOAPFaultException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.uddi.api_v3.DispositionReport; +import org.uddi.api_v3.ErrInfo; +import org.uddi.api_v3.Result; /** @@ -109,7 +111,8 @@ public class DispositionReportFaultMessage report = faultMsg.getFaultInfo(); } } else { - log.error("Unsupported Exception: " + e.getClass()); + log.error("Unsupported Exception: It's not a known instance of DispositionReport. ",e); + } return report; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
