GigaSpaces XAP.NET Documentation
GigaSpaces.Core.Exceptions Namespace
Class LibraryGigaSpaces.Core.Exceptions
Contains classes for the various exceptions thrown by the GigaSpaces core components.
Declaration Syntax
C#Visual BasicVisual C++J#
namespace GigaSpaces.Core.Exceptions
Namespace GigaSpaces.Core.Exceptions
namespace GigaSpaces.Core.Exceptions
package GigaSpaces.Core.Exceptions
Types
All TypesClassesInterfacesEnumerations
IconTypeDescription
CannotAbortException
Thrown when a transaction cannot abort because it has already already to commit.

CannotCommitException
Thrown when a transaction cannot commit because it has already decided to abort.

CannotJoinException
Thrown when a transaction cannot join.

ChangeException
Thrown when an error occurred while performing a Change<(Of <(T>)>)(T, ChangeSet, ITransaction, Int64, ChangeModifiers) operation.

ClearException
Thrown when a Clear()()() operations fails, due to partial or complete failure, cluster/single space topologies and SqlQueries/Templates. The exception contains an array of exceptions that caused it, one exception per each space that failed.

DetailedUnusableEntryException
Thrown when class version compatibility error, the space server contains an older version of class.

EntryAlreadyInSpaceException
Thrown when the entry (or another with same UID) is already in space.

EntryNotInSpaceException
Thrown when the entry specified by the UID is not in the space - it was not found or has been deleted.

EntryVersionConflictException
This exception is thrown when update/write/take operation is rejected as a result of optimistic locking version conflict.

FinderException
Thrown when an attempt to find space or container fails.

GigaSpacesConfigurationException
Thrown when a configuration problem is detected.

GigaSpacesException
The exception that is thrown for a general gigaspaces related error.

IllegalSpaceConfigException
Thrown when illegal space config was used

InactiveSpaceException
This exception thrown when attempting to access an inactive space which runs as a backup of primary space. As long as the the primary space is alive, clients cannot access the backup space directly to perform space operation. When using clustered proxy, the operation will be transparently routed to the active primary space. The PrimarySpaceName property return the primary space name the user should access.

InvalidEventSessionConfigException
Thrown when EventSessionConfig is identified as invalid.

ReadByIdsException..::.IReadByIdResult
Encapsulates information about a single read by id operation.

TakeByIdsException..::.ITakeByIdResult
Encapsulates information about a single take by id operation.

WriteMultipleException..::.IWriteResult
Encapsulates information about a single write operation.

JavaException
Added to Space exception, contains Java Exception data.

JavaToNetException
Thrown when an error occured inside the GigaSpaces.JavaToNet.dll

JvmOutOfMemoryException
Thrown when the jvm is out of memory (OutOfMemoryError).

LeaseDeniedException
Thrown when a lease request or renewal is denied.

LeaseException
Base class for specific lease exceptions.

MemoryShortageException
This Exception indicates that the space server process reached the predefined percentage usage ratio.

NoSuchElementException
Thrown to indicate that there are no more elements in the enumeration.

OperationTimeoutException
Thrown when a space operation timeouts.

ReadByIdsException
Thrown when operation fails.

  1. Partial and complete failure.
  2. Cluster/single space topologies.

The exception contains an array of objects where each result in the array contains either a read object or an exception upon failure. The result array index corresponds to the ID index in the operation's supplied IDs array.


ReadMultipleException
Thrown when a ReadMultiple<(Of <(T>)>)(T) operations fails, due to partial or complete failure, cluster/single space topologies and SqlQueries/Templates. The exception contains an array of exceptions that caused it, one exception per each space that failed, and an array of entries that were successfully read.

RedoLogCapacityExceededException
Thrown when the redo log reach its planned capacity and replicated operations are blocked until the redolog size is reduced

ResourceCapacityExceededException
This exception indicates that a resource usage on the server is exceeding its capacity

ReadByIdsException..::.ResultType
Determines the type of a single read by id operation result.

TakeByIdsException..::.ResultType
Determines the type of a single take by id operation result.

WriteMultipleException..::.ResultType
Determines the type of a single write operation result.

SpaceAlreadyStartedException
Thrown when an a start operation is attempted on a space that is already start.

SpaceAlreadyStoppedException
Thrown when an a stop operation is attempted on a space that is already stopped.

SpaceException
The exception that is thrown for a general space-related error.

SpaceMetadataMissingException
Thrown when an operation is performed on the space without metadata, and the metadata is not in the cache.

SpaceMetadataValidationException
Thrown when a type's metadata validation fails.

SpaceSecurityException
Thrown when a space operation is performed without permissions on a secured space.

SqlQueryException
Thrown when space operation with [!:GigaSpaces.Core.SqlQuery] fails. For example illegal SQL syntax, semantic error.

TakeByIdsException
Thrown when operation fails.

  1. Partial and complete failure.
  2. Cluster/single space topologies.

The exception contains an array of objects where each result in the array contains either a read object or an exception upon failure. The result array index corresponds to the ID index in the operation's supplied IDs array.


TakeMultipleException
Thrown when a TakeMultiple<(Of <(T>)>)(T) operations fails, due to partial or complete failure, cluster/single space topologies and SqlQueries/Templates. The exception contains an array of exceptions that caused it, one exception per each space that failed, and an array of entries that were successfully taken.

TimeoutExpiredException
Thrown when a transaction timeout has expired.

TransactionException
Base class for exceptions thrown during a transaction.

UnknownLeaseException
Thrown when a lease is not known to the grantor of the lease. This can occur when a lease expires or has been cancelled.

UnknownTransactionException
Thrown when a transaction is not recognized as a valid or known transaction. Common reasons for this include: the transaction has previously been explicitly aborted; the transaction has previously aborted because the transaction manager crashed; the transaction has previously been explicitly committed.

UnusableEntryException
Thrown when one tries to get an Entry from a service, but the entry is unusable (due to serialization or other errors).

WriteMultipleException
Thrown when WriteMultiple<(Of <(T>)>)(array<T>[]()[]) operation fails due to partial or complete failure, either in single or clustered space topologies. The exception contains an array of write results where each result in the array is either a lease or an exception upon failure, the result index corresponds to the entry index in the array of entries which are being written/updated.