OpenPetra
Free Administration Software for Non-Profits
Exceptions.DB.cs File Reference

Classes

class  Ict.Common.DB.Exceptions.EDBConnectionNotEstablishedException
 Thrown if an attempt to create a DB connection failed. More...
 
class  Ict.Common.DB.Exceptions.EDBConnectionIsAlreadyOpenException
 Thrown if an attempt to create a DB connection failed because the DB connection was already established earlier. More...
 
class  Ict.Common.DB.Exceptions.EDBConnectionWasAlreadyEstablishedException
 Thrown if an attempt to create a DB connection failed because the DB connection was already established earlier. More...
 
class  Ict.Common.DB.Exceptions.EDBConnectionNotAvailableException
 Thrown if the DB connection is not able to execute any SQL commands. More...
 
class  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.EDBParameterisedQueryMissingParameterPlaceholdersException
 Thrown if a SQL command should execute a parameterised query, but parameter placeholders were missing in the query string. More...
 
class  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.EDBNullTransactionException
 Thrown if a transaction is expected on a DB connection but the current transaction is null. More...
 
class  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.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  Ict.Common.DB.Exceptions.EDBUnsupportedDBUpgradeException
 Thrown if an upgrade of the DB to a newer version of OpenPetra cannot be done. More...
 
class  Ict.Common.DB.Exceptions.EDBTransactionSerialisationException
 Thrown during a serializable transaction if another concurrent transaction has messed with the same records for the PostgreSQL database. More...
 
class  Ict.Common.DB.Exceptions.TDBExceptionHelper
 Static helper class for DB Exceptions More...
 

Namespaces

namespace  Ict
 
namespace  Ict.Common
 
namespace  Ict.Common.DB
 
namespace  Ict.Common.DB.Exceptions