diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-14 15:21:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-14 15:26:49 +0200 |
commit | a760e45df6602b9cf7b3fc728a8ed3e11f89b12b (patch) | |
tree | 6161aa3a4fca79e914922de0b5895a7199d43f7f /bridges | |
parent | 782caa59cc0f72ef377b1d2c99b552b1be201f44 (diff) |
fix use of RuntimeException constructor
Change-Id: Ia8fe44ea365183a8dec8027812b4877be080070d
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/test/java_uno/nativethreadpool/Relay.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/test/java_uno/nativethreadpool/Relay.java b/bridges/test/java_uno/nativethreadpool/Relay.java index c5322b64c53e..fb1063b1308d 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); } } |