fix use of RuntimeException constructor

Change-Id: Ia8fe44ea365183a8dec8027812b4877be080070d
This commit is contained in:
Noel Grandin 2014-10-14 15:21:26 +02:00
parent 782caa59cc
commit a760e45df6

View File

@ -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);
}
}