Skip to content

Commit

Permalink
Move RuntimeInterruptedException to core package
Browse files Browse the repository at this point in the history
  • Loading branch information
mdogan committed Apr 19, 2012
1 parent e129334 commit 851a106
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.hazelcast.impl.base;
package com.hazelcast.core;

/**
* An unchecked version of {@link InterruptedException}.
Expand All @@ -23,7 +23,8 @@
* if a user thread is interrupted while waiting a response.
* Hazelcast uses RuntimeInterruptedException to pass InterruptedException up through interfaces
* that don't have InterruptedException in their signatures. Users should be able to catch and handle
* <tt>RuntimeInterruptedException</tt> in such cases.
* <tt>RuntimeInterruptedException</tt> in such cases as if their threads are interrupted on
a blocking operation.
* </p>
*
* @see InterruptedException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.hazelcast.core.MapEntry;
import com.hazelcast.core.Member;
import com.hazelcast.core.Prefix;
import com.hazelcast.core.RuntimeInterruptedException;
import com.hazelcast.impl.base.*;
import com.hazelcast.impl.concurrentmap.MapSystemLogFactory;
import com.hazelcast.logging.ILogger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import com.hazelcast.config.QueueConfig;
import com.hazelcast.core.*;
import com.hazelcast.impl.base.PacketProcessor;
import com.hazelcast.impl.base.RuntimeInterruptedException;
import com.hazelcast.impl.base.ScheduledAction;
import com.hazelcast.impl.monitor.LocalQueueStatsImpl;
import com.hazelcast.nio.Address;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
package com.hazelcast.impl;

import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.RuntimeInterruptedException;
import com.hazelcast.impl.FactoryImpl.ProxyKey;
import com.hazelcast.impl.base.RuntimeInterruptedException;
import com.hazelcast.impl.monitor.LocalLockStatsImpl;
import com.hazelcast.impl.monitor.LockOperationsCounter;
import com.hazelcast.monitor.LocalLockStats;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.InstanceDestroyedException;
import com.hazelcast.core.Prefix;
import com.hazelcast.core.RuntimeInterruptedException;
import com.hazelcast.impl.base.FactoryAwareNamedProxy;
import com.hazelcast.impl.base.RuntimeInterruptedException;
import com.hazelcast.impl.monitor.LocalSemaphoreStatsImpl;
import com.hazelcast.impl.monitor.SemaphoreOperationsCounter;
import com.hazelcast.monitor.LocalSemaphoreStats;
Expand Down

0 comments on commit 851a106

Please sign in to comment.