hazelcast/hazelcast

Describe when the HazelcastInstanceNotActiveException can occur

Open

#11,512 opened on 2017年10月4日

GitHub で見る
 (2 comments) (1 reaction) (0 assignees)Java (5,737 stars) (1,795 forks)batch import
Estimation: SPriority: MediumSource: InternalTeam: CoreType: Enhancementgood first issue

説明

It would be helpful if users are aware of possible HazelcastInstanceNotActiveException.

Suggested improvements:

  • add more detailed JavaDoc directly to HazelcastInstanceNotActiveException
  • declare this exception on most common places, where users can meet it (e.g. IQueue.take() when cluster is going down - see also hazelcast/hazelcast-code-samples#187)

This issue is also related to #11439.

The HazelcastInstanceNotActiveException doesn't extend HazelcastException, but just the java.lang.IllegalStateException.

コントリビューターガイド