Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TSQLException Class Reference

#include <RDBC/blob/master/include/RDBC/TSQL.h>

+ Inheritance diagram for TSQLException:
+ Collaboration diagram for TSQLException:

Public Member Functions

 TSQLException (const TString &reason="", const TString &sqlState="", Int_t vendorCode=0)
 
virtual ~TSQLException ()
 
Int_t GetErrorCode () const
 
const TString & GetSQLState () const
 
const TString & GetMessage () const
 
virtual const char * GetName () const
 
virtual void Print (Option_t *option="") const
 
virtual void ls (Option_t *option="") const
 

Private Attributes

TString fReason
 
TString fSqlState
 
Int_t fErrorCode
 

Detailed Description

Definition at line 21 of file TSQL.h.

View newest version in sPHENIX GitHub at line 21 of file TSQL.h

Constructor & Destructor Documentation

TSQLException::TSQLException ( const TString &  reason = "",
const TString &  sqlState = "",
Int_t  vendorCode = 0 
)
inline

Definition at line 29 of file TSQL.h.

View newest version in sPHENIX GitHub at line 29 of file TSQL.h

virtual TSQLException::~TSQLException ( )
inlinevirtual

Definition at line 35 of file TSQL.h.

View newest version in sPHENIX GitHub at line 35 of file TSQL.h

Member Function Documentation

Int_t TSQLException::GetErrorCode ( ) const
inline

Definition at line 36 of file TSQL.h.

View newest version in sPHENIX GitHub at line 36 of file TSQL.h

References fErrorCode.

const TString& TSQLException::GetMessage ( ) const
inline

Definition at line 38 of file TSQL.h.

View newest version in sPHENIX GitHub at line 38 of file TSQL.h

References fReason.

Referenced by Catch(), CatchFailedTransaction(), PgPostBankBackupManager::CleanTable(), PgPostBankBackupManager::commit(), PgPostBankBackupManager::commitAllBankfromTFile(), and PgPostBankBackupLog::Log().

+ Here is the caller graph for this function:

virtual const char* TSQLException::GetName ( ) const
inlinevirtual

Definition at line 41 of file TSQL.h.

View newest version in sPHENIX GitHub at line 41 of file TSQL.h

References fReason.

const TString& TSQLException::GetSQLState ( ) const
inline

Definition at line 37 of file TSQL.h.

View newest version in sPHENIX GitHub at line 37 of file TSQL.h

References fSqlState.

virtual void TSQLException::ls ( Option_t *  option = "") const
inlinevirtual

Definition at line 43 of file TSQL.h.

View newest version in sPHENIX GitHub at line 43 of file TSQL.h

References Print().

+ Here is the call graph for this function:

virtual void TSQLException::Print ( Option_t *  option = "") const
virtual

Referenced by ls(), and TSQL::Throw().

+ Here is the caller graph for this function:

Member Data Documentation

Int_t TSQLException::fErrorCode
private

Definition at line 26 of file TSQL.h.

View newest version in sPHENIX GitHub at line 26 of file TSQL.h

Referenced by GetErrorCode().

TString TSQLException::fReason
private

Definition at line 24 of file TSQL.h.

View newest version in sPHENIX GitHub at line 24 of file TSQL.h

Referenced by GetMessage(), and GetName().

TString TSQLException::fSqlState
private

Definition at line 25 of file TSQL.h.

View newest version in sPHENIX GitHub at line 25 of file TSQL.h

Referenced by GetSQLState().


The documentation for this class was generated from the following file: