Class MultiClusterAccessException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.openspaces.core.multicluster.exception.MultiClusterAccessException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NoAvailableClusterException, PartialWriteException

public class MultiClusterAccessException extends org.springframework.dao.DataAccessException
Base class for failures introduced by the multi-cluster proxy itself, as opposed to failures a single space reported.

It extends Spring's DataAccessException - the same hierarchy every GigaSpace operation already throws - so callers that already handle space failures need no new catch blocks.

Programming errors (unknown cluster name, duplicate registration, contradictory configuration) are not modelled here: those throw IllegalArgumentException / IllegalStateException, because they are bugs in wiring rather than data-access failures.

See Also:
  • Constructor Details

    • MultiClusterAccessException

      public MultiClusterAccessException(String message)
    • MultiClusterAccessException

      public MultiClusterAccessException(String message, Throwable cause)