Class ReadMultipleException

All Implemented Interfaces:
SmartExternalizable, Externalizable, Serializable

public class ReadMultipleException extends BatchQueryException
Thrown when a space readMultiple operation fails.

Thrown on:

  • Partial and complete failure.
  • Cluster/single space topologies.
  • SQLQueries/Templates.
At space level - the failure is fail-fast - once an operation on an object failed - exception is returned immediately and no other objects are processed.

At cluster level - if one of operation target spaces fails, first completion of the operation on other spaces is done. Then the aggregated exception is thrown.

The exception contains:

  • An array of exceptions that caused it. One exception per each space that failed.
  • An array of entries that were successfully read.

Replaced QueryMultiplePartialFailureException.

Since:
7.1
Author:
anna
See Also:
  • Constructor Details

    • ReadMultipleException

      public ReadMultipleException()
    • ReadMultipleException

      public ReadMultipleException(List<?> results, List<Throwable> exceptions)
    • ReadMultipleException

      public ReadMultipleException(Throwable cause)
    • ReadMultipleException

      public ReadMultipleException(Object[] results, List<Throwable> exceptions)