Class ShardedDataAccessException

  • All Implemented Interfaces:
    Serializable

    public class ShardedDataAccessException
    extends org.springframework.dao.DataAccessException
    Signals that at an exception has occurred while executing the sproc on the shards.
    Author:
    pribeiro
    See Also:
    Serialized Form
    • Constructor Detail

      • ShardedDataAccessException

        public ShardedDataAccessException​(String msg,
                                          Map<Integer,​Throwable> causes)
        Creates a ShardedDataAccessException with specified detail message and causes.
        Parameters:
        msg - the detail message
        causes - the causes
    • Method Detail

      • getCauses

        public Map<Integer,​Throwable> getCauses()
        Returns an immutable map with the shard id and respective cause.
        Returns:
        an immutable map with the shard id and respective cause