OpenPetra
Free Administration Software for Non-Profits
Ict.Common.DB.Exceptions Namespace Reference

Classes

class  EDBAccessLackingCoordinationException
 Thrown in case a caller wants to run an action against the DB, but that isn't possible as another action that was started earlier prevents that - this means that the DB access isn't co-ordinated (but it would need to be!). More...
 
class  EDBAttemptingToCloseDBConnectionThatGotEstablishedOnDifferentThreadException
 Thrown in case a caller wants to close a DB Connection when there is still a Transaction running - which the act of closing of the DB Connection would roll back - and that DB Transaction was started on another Thread (running DB commands on different Threads on the same DB Connection isn't supported as the ADO.NET providers (specifically: the PostgreSQL provider, Npgsql) aren't thread-safe!). More...
 
class  EDBAttemptingToCreateCommandEnlistedInDifferentDBTransactionThanTheCurrentDBTransactionException
 Thrown in case a caller wants to create a Command that would be enlisted in a DB Transaction that is different from the current DB Transaction (running DB Commands on a DB Transaction other than the currently running DB Transaction is not supported [because parallel DB Transactions are not supported]). More...
 
class  EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException
 Thrown in case a caller wants to create a Command that would be enlisted in a DB Transaction that was started against a DB Connection that is different from the DB Connection of current DB Connection (running DB Commands on one DB Connection with a DB Transaction that was started against another DB Connection isn't supported [because each DB Command is bound to a certain DB Connection as the ADO.NET providers {specifically: the PostgreSQL provider, Npgsql} aren't thread-safe!}]). More...
 
class  EDBAttemptingToCreateCommandThatWouldRunCommandOnDifferentThreadThanThreadOfTheTransactionThatGotPassedException
 Thrown in case a caller wants to create a Command that would be executed on a Thread that is different from the Thread that started the DB Transaction that got passed in as an Argument (running DB commands on different Threads in the same DB Transaction [and hence on the same DB Connection] isn't supported as the ADO.NET providers [specifically: the PostgreSQL provider, Npgsql] aren't thread-safe!) More...
 
class  EDBAttemptingToUseTransactionThatIsInvalidException
 Thrown in case a caller wants to use a DB Transaction and that DB Transaction is no longer Valid (i.e. that DB Transaction has already been Committed or Rolled Back). More...
 
class  EDBAttemptingToWorkWithTransactionThatGotStartedOnDifferentThreadException
 Thrown in case a caller wants to work with a Transaction and that DB Transaction was started on another Thread (running DB commands on different Threads in the same DB Transaction [and hence on the same DB Connection] isn't supported!). More...
 
class  EDBAutoServerCallRetriesExceededException
 Thrown when co-ordinated (=Thread-safe) DB Access was requested, but the DB Abstraction layer was busy executing another request, and the waiting time for the request for which this Exception got thrown was exceeded. The request for which this Exception got thrown didn't get executed because of this. More...
 
class  EDBConnectionBrokenException
 Thrown if the DB Connection was found to be broken in the 'BeginTransaction' Methods (determined with a call to Method 'TExceptionHandler.IsExceptionCausedByUnavailableDBConnectionServerSide') AND the the one retry attempt to re-establish the broken DB Connection in those Methods didn't overcome the situation. More...
 
class  EDBConnectionIsAlreadyOpenException
 Thrown if an attempt to create a DB connection failed because the DB connection was already established earlier. More...
 
class  EDBConnectionNotAvailableException
 Thrown if the DB connection is not able to execute any SQL commands. More...
 
class  EDBConnectionNotEstablishedException
 Thrown if an attempt to create a DB connection failed. More...
 
class  EDBConnectionWasAlreadyEstablishedException
 Thrown if an attempt to create a DB connection failed because the DB connection was already established earlier. More...
 
class  EDBCoordinatedDBAccessWaitingTimeExceededException
 Thrown when co-ordinated (=Thread-safe) DB Access was requested, but the DB Abstraction layer was busy executing another request, and the waiting time for the request for which this Exception got thrown was exceeded. The request for which this Exception got thrown didn't get executed because of this. More...
 
class  EDBNullTransactionException
 Thrown if a transaction is expected on a DB connection but the current transaction is null. More...
 
class  EDBParameterisedQueryMissingParameterPlaceholdersException
 Thrown if a SQL command should execute a parameterised query, but parameter placeholders were missing in the query string. More...
 
class  EDBSyncUnknownParameterTypeException
 Thrown during the write to the Sync table, where the ODBC parameters need to be written to a string for the PostgreSQL database. More...
 
class  EDBTransactionBusyException
 Thrown in case a caller wants to start a new Transaction by calling BeginTransaction, but a Transaction is currently executing (parallel Transactions are not supported by ADO.NET!). More...
 
class  EDBTransactionIsolationLevelTooLowException
 Thrown in case code wants to use a Transaction with a certain IsolationLevel, but the Transaction it is using has an IsolationLevel that is lower than it expects. More...
 
class  EDBTransactionIsolationLevelWrongException
 Thrown in case code wants to use a Transaction with a certain IsolationLevel, but the Transaction it is using has a different IsolationLevel than it expects. More...
 
class  EDBTransactionMissingException
 Thrown in case code wants to run an SQL query without a transaction. This would give problems with the Progress SQL engine, with locking. Progress SQL requires all SQL queries to be in a transaction. More...
 
class  EDBTransactionSerialisationException
 Thrown during a serializable transaction if another concurrent transaction has messed with the same records for the PostgreSQL database. More...
 
class  EDBUnsupportedDBUpgradeException
 Thrown if an upgrade of the DB to a newer version of OpenPetra cannot be done. More...
 
class  TDBExceptionHelper
 Static helper class for DB Exceptions More...