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 Summary
ConstructorsConstructorDescriptionMultiClusterAccessException(String message) MultiClusterAccessException(String message, Throwable cause) -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MultiClusterAccessException
-
MultiClusterAccessException
-