diff options
Diffstat (limited to 'bean/com')
-rw-r--r-- | bean/com/sun/star/beans/LocalOfficeWindow.java | 6 | ||||
-rw-r--r-- | bean/com/sun/star/comp/beans/CallWatchThread.java | 6 | ||||
-rw-r--r-- | bean/com/sun/star/comp/beans/OOoBean.java | 20 |
3 files changed, 16 insertions, 16 deletions
diff --git a/bean/com/sun/star/beans/LocalOfficeWindow.java b/bean/com/sun/star/beans/LocalOfficeWindow.java index 9283b013a43e..03a4bd4b90ca 100644 --- a/bean/com/sun/star/beans/LocalOfficeWindow.java +++ b/bean/com/sun/star/beans/LocalOfficeWindow.java @@ -164,7 +164,7 @@ public class LocalOfficeWindow CallWatchThread aCallWatchThread = new CallWatchThread( 500 ); setVisible(false); try { aCallWatchThread.cancel(); } - catch ( java.lang.InterruptedException aExc ) + catch ( InterruptedException aExc ) {} // ignore } @@ -270,7 +270,7 @@ public class LocalOfficeWindow } private void cancel() - throws java.lang.InterruptedException + throws InterruptedException { aWatchedThread = null; stop(); @@ -285,7 +285,7 @@ public class LocalOfficeWindow while ( aWatchedThread != null ) { try { sleep( nTimeout ); } - catch ( java.lang.InterruptedException aExc ) + catch ( InterruptedException aExc ) {} //synchronized diff --git a/bean/com/sun/star/comp/beans/CallWatchThread.java b/bean/com/sun/star/comp/beans/CallWatchThread.java index b9de0a826384..45cecbc367e8 100644 --- a/bean/com/sun/star/comp/beans/CallWatchThread.java +++ b/bean/com/sun/star/comp/beans/CallWatchThread.java @@ -52,7 +52,7 @@ public class CallWatchThread extends Thread } public void cancel() - throws java.lang.InterruptedException + throws InterruptedException { dbgPrint( "CallWatchThread(" + this + ".cancel(" + aTag + ")" ); if ( aWatchedThread != null && aWatchedThread != Thread.currentThread() ) @@ -63,7 +63,7 @@ public class CallWatchThread extends Thread } public synchronized void restart() - throws java.lang.InterruptedException + throws InterruptedException { dbgPrint( "CallWatchThread(" + this + ".restart(" + aTag + ")" ); if ( aWatchedThread != null && aWatchedThread != Thread.currentThread() ) @@ -89,7 +89,7 @@ public class CallWatchThread extends Thread { wait( nTimeout ); } - catch ( java.lang.InterruptedException aExc ) + catch ( InterruptedException aExc ) { bAlive = false; } diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java index b84ad5c4dd2c..b6504fa733bd 100644 --- a/bean/com/sun/star/comp/beans/OOoBean.java +++ b/bean/com/sun/star/comp/beans/OOoBean.java @@ -281,7 +281,7 @@ public class OOoBean }; aConnectorThread.start(); try { aConnectorThread.join(nOOoStartTimeOut); } - catch ( java.lang.InterruptedException aExc ) + catch ( InterruptedException aExc ) { throw new NoConnectionException(); } if ( xServiceFactory == null ) throw new NoConnectionException(); @@ -381,7 +381,7 @@ public class OOoBean aCallWatchThread.cancel(); } - catch ( java.lang.InterruptedException aExc ) + catch ( InterruptedException aExc ) { /* can be ignored */ } } @@ -648,7 +648,7 @@ public class OOoBean applyToolVisibilities(); } - catch ( java.lang.InterruptedException aExc ) + catch ( InterruptedException aExc ) { throw new NoConnectionException(); } @@ -802,7 +802,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); boolean bOldValue, boolean bNewValue ) throws - java.lang.InterruptedException + InterruptedException { // start runtime timeout CallWatchThread aCallWatchThread = @@ -871,7 +871,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); bMenuBarVisible = setToolVisible( "MenuBarVisible", "private:resource/menubar/menubar", bMenuBarVisible, bVisible ); } - catch ( java.lang.InterruptedException aExc ) + catch ( InterruptedException aExc ) { bMenuBarVisible = bVisible; } @@ -919,7 +919,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); bStandardBarVisible = setToolVisible( "StandardBarVisible", "private:resource/toolbar/standardbar", bStandardBarVisible, bVisible ); } - catch ( java.lang.InterruptedException aExc ) + catch ( InterruptedException aExc ) { bMenuBarVisible = bVisible; } @@ -967,7 +967,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); bToolBarVisible = setToolVisible( "ToolBarVisible", "private:resource/toolbar/toolbar", bToolBarVisible, bVisible ); } - catch ( java.lang.InterruptedException aExc ) + catch ( InterruptedException aExc ) { bMenuBarVisible = bVisible; } @@ -1015,7 +1015,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); bStatusBarVisible = setToolVisible( "StatusBarVisible", "private:resource/statusbar/statusbar", bStatusBarVisible, bVisible ); } - catch ( java.lang.InterruptedException aExc ) + catch ( InterruptedException aExc ) { bMenuBarVisible = bVisible; } @@ -1204,7 +1204,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); { aCallWatchThread.restart(); } - catch ( java.lang.InterruptedException aExc ) + catch ( InterruptedException aExc ) { // ignore late interrupt } @@ -1221,7 +1221,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); try { sleep(nOOoCheckCycle); } - catch ( java.lang.InterruptedException aExc ) + catch ( InterruptedException aExc ) { dbgPrint("EventListener(" + aTag + ") interrupted."); // thread can be ended by EvendListener.end(); |