Click or drag to resize

VelocityDb.Exceptions Namespace

The VelocityDb.Session namespace contains all exceptions that may be thrown by VelocityDB code.
Classes
  ClassDescription
Public classAlreadyInCommitException
Exception thrown when attempting to commit a transaction when we already are within transaction commit code.
Public classAlreadyInTransactionException
Exception thrown when attempting to start a transaction when an active transaction already exist.
Public classDatabaseAlreadyExistsException
Exception thrown when trying to create a Database that already exist (file system file exist).
Public classDatabaseDoesNotExistException
Exception thrown when the requested >Database does not exist.
Public classDatabaseReadLockException
Exception thrown when a Database level read lock failed.
Public classDesKeyMissingException
Exception thrown when an internal error was detected. This type of error is most likly due to a bug in VelocityDb.
Public classFieldDoesNotExistException
Exception thrown when specifying a field name that does not exist in the given class/struct.
Public classIndexDatabaseNotSpecifiedException
Exception thrown when attempting to open an in database index without specifying a database.
Public classIndexDatabaseOrBTreeMissingException
Exception thrown when attempting to open an in database index without specifying a database.
Public classIndexDatabaseSpecifiedForGlobalIndexException
Exception thrown when attempting to open a global index and specifying a database.
Public classInternalErrorException
Exception thrown when an internal error was detected. This type of error is most likly due to a bug in VelocityDb.
Public classInTransactionException
Exception thrown when calling certain SessionBase api that requires that session IS NOT in an active transaction.
Public classInUpdateTransactionException
Exception thrown when calling certain SessionBase api that requires that session IS NOT in an active update transaction.
Public classInvalidChangeOfDatabaseLocation
Exception thrown when trying to do an invalid change of a DatabaseLocation. It could be a change to the start database number that if permitted skips one or more other DatabaseLocations.
Public classInvalidChangeOfDefaultLocationException
Exception thrown when trying to do an invalid change of the startup DatabaseLocation.
Public classMaxNumberOfDatabasesException
Exception thrown when trying to create a Database but no more Database numbers are available. The Maximum Database number is MaxValue or 13 if no valid license is found.
Public classNotInTransactionException
Exception thrown when trying to do persistent operations without first starting a transaction.
Public classNoValidVelocityDBLicenseFoundException
Exception thrown when trying to add/update database schema and no valid VelocityDB license is found in license database (4.odb).
Public classNullObjectException
Exception thrown when an object unexpectedly is null.
Public classObjectDoesNotExistException
Exception thrown when the requested >IOptimizedPersistable does not exist.
Public classObjectNotInSameDatabaseAsOidShortCollectionException
Exception thrown when object is not in the same database as a ShortOid collection Database failed.
Public classOpenDatabaseException
Exception thrown when openeing a Database failed.
Public classOptimisticLockingFailed
Exception thrown when a optimistic locking failed due to another transcation having updated a Page or Database.
Public classPageDeadLockException
Exception thrown when a Page level lock failed due to a deadlock with another transaction
Public classPageDoesNotExistException
Exception thrown when the requested >Page does not exist.
Public classPageReadLockException
Exception thrown when failing to get a Page level read lock.
Public classPageUpdateLockException
Exception thrown when a Page level update lock failed.
Public classPersistedObjectExcpectedException
Exception thrown when a persisted object wsa expected but was not.
Public classReferentialIntegrityException
Exception thrown when an internal error was detected. This type of error is most likly due to a bug in VelocityDb.
Public classRequestedPlacementDatabaseNumberNotValidException
Exception thrown when a requested placement Database number is invalid.
Public classRequestedPlacementPageNumberNotValidException
Exception thrown when a requested placement Page number is invalid.
Public classSubscriptionsNotAvailableWithNoServerSessionException
Exception thrown when trying to use event subscription api with NON server session. Subscriptions require use of server.
Public classSystemDatabaseNotFoundWithReadonlyTransactionException
Exception thrown when a read only transaction try to open a non existing Database 0
Public classTryingToBeginReadOnlyTransactionWhileInUpdateTransactionException
Exception thrown when attempting to start a read only transaction while in an update transaction.
Public classTryingToDeleteDeletedDatabaseException
Exception thrown when attempting to delete a Database that already was deleted in the same transaction
Public classUnexpectedException
Exception thrown when something unexpected happened and no specific exception exist for it.
Public classUniqueConstraintException
Exception thrown when attempting to open an in database index without specifying a database.
Public classUpdateLockFailedException
Exception thrown when an update lock failed.
Public classWeakIOptimizedPersistableReferenceMustBePersistentException
Exception thrown when a persisted object wsa expected but was not.