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.ExceptionGeneral HazelcastError class.
-
exception
AuthenticationError¶ Bases:
hazelcast.exception.HazelcastErrorA HazelcastError which is raised when there is an Authentication failure: e.g. credentials from client is not valid.
-
exception
HazelcastInstanceNotActiveError¶ Bases:
hazelcast.exception.HazelcastErrorA HazelcastError which is raised when HazelcastInstance is not active during an invocation.
-
retryable= True¶
-
-
exception
HazelcastSerializationError¶ Bases:
hazelcast.exception.HazelcastErrorA HazelcastError which is raised when an error occurs while serializing/deserializing objects.
-
exception
TargetNotMemberError¶ Bases:
hazelcast.exception.HazelcastErrorA HazelcastError that indicates operation is send to a machine that isn’t member of the cluster.
-
retryable= True¶
-
-
exception
TargetDisconnectedError¶ Bases:
hazelcast.exception.HazelcastErrorA HazelcastError that indicates that an operation is about to be send to a non existing machine.
-
retryable= True¶
-
-
exception
TimeoutError¶ Bases:
hazelcast.exception.HazelcastErrorA HazelcastError which is raised when an operation times out.
-
exception
TransactionError¶ Bases:
hazelcast.exception.HazelcastErrorA HazelcastError that is thrown when something goes wrong while dealing with transactions and transactional data structures.
-
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),trueif the given error is retryable,falseotherwise.