From 77650bcc642c55fff811d641b0664b4a42e3f43c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 29 Sep 2014 12:01:11 +0200 Subject: fix more Java1.5 incompatibility Change-Id: I9d750f525fe73d59c150b322401418dfbd0822dd --- .../java/com/sun/star/script/framework/io/UCBStreamHandler.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'scripting/java/com/sun/star/script/framework') diff --git a/scripting/java/com/sun/star/script/framework/io/UCBStreamHandler.java b/scripting/java/com/sun/star/script/framework/io/UCBStreamHandler.java index d630e3f530c8..33bb67419eea 100644 --- a/scripting/java/com/sun/star/script/framework/io/UCBStreamHandler.java +++ b/scripting/java/com/sun/star/script/framework/io/UCBStreamHandler.java @@ -126,12 +126,16 @@ public class UCBStreamHandler extends URLStreamHandler { catch ( com.sun.star.ucb.CommandAbortedException cae ) { LogUtils.DEBUG("caught exception: " + cae.toString() + " getting writable stream from " + url ); - throw new IOException(cae); + IOException newEx = new IOException(cae.getMessage()); + newEx.initCause(cae); + throw newEx; } catch ( com.sun.star.uno.Exception e ) { LogUtils.DEBUG("caught unknown exception: " + e.toString() + " getting writable stream from " + url ); - throw new IOException(e); + IOException newEx = new IOException(e.getMessage()); + newEx.initCause(e); + throw newEx; } return os; } -- cgit tion> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sc/Package_res_xml.mk
AgeCommit message (Expand)Author
2016-09-18place the calc default style file in the share folderMarkus Mohrhard
2016-09-18Make sc/res/xml/styles.xml install on every buildJaskaran Singh