[Libreoffice-commits] core.git: bridges/test
Noel Grandin
noel at peralex.com
Tue Oct 14 06:27:28 PDT 2014
bridges/test/java_uno/nativethreadpool/Relay.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a760e45df6602b9cf7b3fc728a8ed3e11f89b12b
Author: Noel Grandin <noel at peralex.com>
Date: Tue Oct 14 15:21:26 2014 +0200
fix use of RuntimeException constructor
Change-Id: Ia8fe44ea365183a8dec8027812b4877be080070d
diff --git a/bridges/test/java_uno/nativethreadpool/Relay.java b/bridges/test/java_uno/nativethreadpool/Relay.java
index c5322b6..fb1063b 100644
--- a/bridges/test/java_uno/nativethreadpool/Relay.java
+++ b/bridges/test/java_uno/nativethreadpool/Relay.java
@@ -45,7 +45,7 @@ public final class Relay implements XRelay, XSource {
} catch (com.sun.star.uno.Exception e) {
throw new WrappedTargetRuntimeException(e.getMessage(), this, e);
} catch (Exception e) {
- throw new com.sun.star.uno.RuntimeException(e, this);
+ throw new com.sun.star.uno.RuntimeException(e, "", this);
}
final XAcceptor acceptor = Acceptor.create(context);
final XBridgeFactory factory;
@@ -85,7 +85,7 @@ public final class Relay implements XRelay, XSource {
Thread.sleep(3000); // wait for new thread to accept connection
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
- throw new com.sun.star.uno.RuntimeException(e, this);
+ throw new com.sun.star.uno.RuntimeException(e, "", this);
}
}
More information about the Libreoffice-commits
mailing list