Exception

retryable(cls)

Makes the given error retryable.

Parameters:cls – (HazelcastError), the given error.
Returns:(HazelcastError), the given error with retryable property.
exception HazelcastError

Bases: exceptions.Exception

General HazelcastError class.

exception ArrayIndexOutOfBoundsError

Bases: hazelcast.exception.HazelcastError

exception ArrayStoreError

Bases: hazelcast.exception.HazelcastError

exception AuthenticationError

Bases: hazelcast.exception.HazelcastError

exception CacheNotExistsError

Bases: hazelcast.exception.HazelcastError

exception CallerNotMemberError

Bases: hazelcast.exception.HazelcastError

retryable = True
exception CancellationError

Bases: hazelcast.exception.HazelcastError

exception ClassCastError

Bases: hazelcast.exception.HazelcastError

exception ClassNotFoundError

Bases: hazelcast.exception.HazelcastError

exception ConcurrentModificationError

Bases: hazelcast.exception.HazelcastError

exception ConfigMismatchError

Bases: hazelcast.exception.HazelcastError

exception ConfigurationError

Bases: hazelcast.exception.HazelcastError

exception DistributedObjectDestroyedError

Bases: hazelcast.exception.HazelcastError

exception DuplicateInstanceNameError

Bases: hazelcast.exception.HazelcastError

exception HazelcastEOFError

Bases: hazelcast.exception.HazelcastError

exception ExecutionError

Bases: hazelcast.exception.HazelcastError

exception HazelcastInstanceNotActiveError

Bases: hazelcast.exception.HazelcastError

retryable = True
exception HazelcastOverloadError

Bases: hazelcast.exception.HazelcastError

exception HazelcastSerializationError

Bases: hazelcast.exception.HazelcastError

exception HazelcastIOError

Bases: hazelcast.exception.HazelcastError

exception IllegalArgumentError

Bases: hazelcast.exception.HazelcastError

exception IllegalAccessException

Bases: hazelcast.exception.HazelcastError

exception IllegalAccessError

Bases: hazelcast.exception.HazelcastError

exception IllegalMonitorStateError

Bases: hazelcast.exception.HazelcastError

exception HazelcastIllegalStateError

Bases: hazelcast.exception.HazelcastError

exception IllegalThreadStateError

Bases: hazelcast.exception.HazelcastError

exception IndexOutOfBoundsError

Bases: hazelcast.exception.HazelcastError

exception HazelcastInterruptedError

Bases: hazelcast.exception.HazelcastError

exception InvalidAddressError

Bases: hazelcast.exception.HazelcastError

exception InvalidConfigurationError

Bases: hazelcast.exception.HazelcastError

exception MemberLeftError

Bases: hazelcast.exception.HazelcastError

retryable = True
exception NegativeArraySizeError

Bases: hazelcast.exception.HazelcastError

exception NoSuchElementError

Bases: hazelcast.exception.HazelcastError

exception NotSerializableError

Bases: hazelcast.exception.HazelcastError

exception NullPointerError

Bases: hazelcast.exception.HazelcastError

exception OperationTimeoutError

Bases: hazelcast.exception.HazelcastError

exception PartitionMigratingError

Bases: hazelcast.exception.HazelcastError

retryable = True
exception QueryError

Bases: hazelcast.exception.HazelcastError

exception QueryResultSizeExceededError

Bases: hazelcast.exception.HazelcastError

exception QuorumError

Bases: hazelcast.exception.HazelcastError

exception ReachedMaxSizeError

Bases: hazelcast.exception.HazelcastError

exception RejectedExecutionError

Bases: hazelcast.exception.HazelcastError

exception RemoteMapReduceError

Bases: hazelcast.exception.HazelcastError

exception ResponseAlreadySentError

Bases: hazelcast.exception.HazelcastError

exception RetryableHazelcastError

Bases: hazelcast.exception.HazelcastError

retryable = True
exception RetryableIOError

Bases: hazelcast.exception.HazelcastError

retryable = True
exception HazelcastRuntimeError

Bases: hazelcast.exception.HazelcastError

exception SecurityError

Bases: hazelcast.exception.HazelcastError

exception SocketError

Bases: hazelcast.exception.HazelcastError

exception StaleSequenceError

Bases: hazelcast.exception.HazelcastError

exception TargetDisconnectedError

Bases: hazelcast.exception.HazelcastError

retryable = True
exception TargetNotMemberError

Bases: hazelcast.exception.HazelcastError

retryable = True
exception TimeoutError

Bases: hazelcast.exception.HazelcastError

exception TopicOverloadError

Bases: hazelcast.exception.HazelcastError

exception TopologyChangedError

Bases: hazelcast.exception.HazelcastError

exception TransactionError

Bases: hazelcast.exception.HazelcastError

exception TransactionNotActiveError

Bases: hazelcast.exception.HazelcastError

exception TransactionTimedOutError

Bases: hazelcast.exception.HazelcastError

exception URISyntaxError

Bases: hazelcast.exception.HazelcastError

exception UTFDataFormatError

Bases: hazelcast.exception.HazelcastError

exception UnsupportedOperationError

Bases: hazelcast.exception.HazelcastError

exception WrongTargetError

Bases: hazelcast.exception.HazelcastError

retryable = True
exception XAError

Bases: hazelcast.exception.HazelcastError

exception AccessControlError

Bases: hazelcast.exception.HazelcastError

exception LoginError

Bases: hazelcast.exception.HazelcastError

exception UnsupportedCallbackError

Bases: hazelcast.exception.HazelcastError

exception NoDataMemberInClusterError

Bases: hazelcast.exception.HazelcastError

exception ReplicatedMapCantBeCreatedOnLiteMemberError

Bases: hazelcast.exception.HazelcastError

exception MaxMessageSizeExceededError

Bases: hazelcast.exception.HazelcastError

exception WANReplicationQueueFullError

Bases: hazelcast.exception.HazelcastError

exception HazelcastAssertionError

Bases: hazelcast.exception.HazelcastError

exception OutOfMemoryError

Bases: hazelcast.exception.HazelcastError

exception StackOverflowError

Bases: hazelcast.exception.HazelcastError

exception NativeOutOfMemoryError

Bases: hazelcast.exception.HazelcastError

exception ServiceNotFoundError

Bases: hazelcast.exception.HazelcastError

exception StaleTaskIdError

Bases: hazelcast.exception.HazelcastError

exception DuplicateTaskError

Bases: hazelcast.exception.HazelcastError

exception StaleTaskError

Bases: hazelcast.exception.HazelcastError

exception LocalMemberResetError

Bases: hazelcast.exception.HazelcastError

exception IndeterminateOperationStateError

Bases: hazelcast.exception.HazelcastError

exception NodeIdOutOfRangeError

Bases: hazelcast.exception.HazelcastError

exception TargetNotReplicaError

Bases: hazelcast.exception.HazelcastError

retryable = True
exception MutationDisallowedError

Bases: hazelcast.exception.HazelcastError

exception ConsistencyLostError

Bases: hazelcast.exception.HazelcastError

exception HazelcastClientNotActiveException

Bases: exceptions.ValueError

exception HazelcastCertificationError

Bases: hazelcast.exception.HazelcastError

create_exception(error_codec)

Creates an exception with given error codec.

Parameters:error_codec – (Error Codec), error codec which includes the class name, message and exception trace.
Returns:(Exception), the created exception.
is_retryable_error(error)

Determines whether the given error is retryable or not. :param error: (HazelcastError), the given error. :return: (bool), true if the given error is retryable, false otherwise.