summaryrefslogtreecommitdiff
path: root/swext
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-05 15:29:21 +0200
committerNoel Grandin <noel@peralex.com>2014-08-08 09:48:20 +0200
commit616b3ad50404f35d84708b3feeb8c66f2f23f1b1 (patch)
treefbff023a34b3cc62b2c5beb592b95e65ce28251b /swext
parentb6a83e99c8f4442c3c96198ac816dcb99419a67e (diff)
java: remove exceptions from throws clauses that are not
.. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
Diffstat (limited to 'swext')
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/Helper.java2
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java10
2 files changed, 6 insertions, 6 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/Helper.java b/swext/mediawiki/src/com/sun/star/wiki/Helper.java
index 66d2aa263d8c..20491b972790 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/Helper.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/Helper.java
@@ -779,7 +779,7 @@ public class Helper
}
static protected HostConfiguration Login( URI aMainURL, String sWikiUser, String sWikiPass, XComponentContext xContext )
- throws com.sun.star.uno.Exception, java.io.IOException, WikiCancelException
+ throws java.io.IOException, WikiCancelException
{
HostConfiguration aHostConfig = null;
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java b/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java
index 4b92ff6e2991..fe31b4741ebd 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java
@@ -52,7 +52,7 @@ public class WikiArticle
/** Creates a new instance of WikiArticle */
public WikiArticle( XComponentContext xContext, String sTitle, Map<String,String> wikiSettings, boolean bLogin, WikiPropDialog aPropDialog )
- throws java.net.MalformedURLException, com.sun.star.uno.Exception, java.io.IOException, WikiCancelException
+ throws java.net.MalformedURLException, java.io.IOException, WikiCancelException
{
m_xContext = xContext;
@@ -117,7 +117,7 @@ public class WikiArticle
}
private String getArticleWiki()
- throws com.sun.star.uno.Exception, java.io.IOException, WikiCancelException
+ throws java.io.IOException, WikiCancelException
{
String sWikiCode = null;
@@ -161,7 +161,7 @@ public class WikiArticle
}
private void InitArticleHTML()
- throws com.sun.star.uno.Exception, java.io.IOException, WikiCancelException
+ throws java.io.IOException, WikiCancelException
{
if ( m_aHostConfig != null )
{
@@ -197,7 +197,7 @@ public class WikiArticle
}
protected boolean setArticle( String sWikiCode, String sWikiComment, boolean bMinorEdit )
- throws com.sun.star.uno.Exception, java.io.IOException, WikiCancelException
+ throws java.io.IOException, WikiCancelException
{
boolean bResult = false;
@@ -238,7 +238,7 @@ public class WikiArticle
}
protected boolean Login()
- throws com.sun.star.uno.Exception, java.io.IOException, WikiCancelException
+ throws java.io.IOException, WikiCancelException
{
m_aHostConfig = Helper.Login( m_aMainURI, m_sWikiUser, m_sWikiPass, m_xContext );
return ( m_aHostConfig != null );