Package com.hazelcast.spi.exception
Class RetryableHazelcastException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.hazelcast.core.HazelcastException
-
- com.hazelcast.spi.exception.RetryableHazelcastException
-
- All Implemented Interfaces:
RetryableException
,java.io.Serializable
- Direct Known Subclasses:
CallerNotMemberException
,PartitionMigratingException
,TargetNotMemberException
,TargetNotReplicaException
,WrongTargetException
public class RetryableHazelcastException extends HazelcastException implements RetryableException
A 'marker' exception that indicates that an operation can be retried. E.g. if map.get is sent to a partition that is currently migrating, a subclass of this exception is thrown, so the caller can deal with it (e.g. sending the request to the new partition owner).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RetryableHazelcastException()
RetryableHazelcastException(java.lang.String message)
RetryableHazelcastException(java.lang.String message, java.lang.Throwable cause)
RetryableHazelcastException(java.lang.Throwable cause)
-
-
-
Constructor Detail
-
RetryableHazelcastException
public RetryableHazelcastException()
-
RetryableHazelcastException
public RetryableHazelcastException(java.lang.String message)
-
RetryableHazelcastException
public RetryableHazelcastException(java.lang.String message, java.lang.Throwable cause)
-
RetryableHazelcastException
public RetryableHazelcastException(java.lang.Throwable cause)
-
-