digiKam
Digikam::DatabaseServerError Class Reference

Public Types

enum  DatabaseServerErrorEnum { NoErrors = 0 , NotSupported , StartError }
 

Public Member Functions

 DatabaseServerError (const DatabaseServerError &dbServerError)
 
 DatabaseServerError (DatabaseServerErrorEnum errorType=NoErrors, const QString &errorText=QString())
 
QString getErrorText () const
 
int getErrorType () const
 
void setErrorText (const QString &errorText)
 
void setErrorType (DatabaseServerErrorEnum errorType)
 
 ~DatabaseServerError ()
 

Member Enumeration Documentation

◆ DatabaseServerErrorEnum

Enumerator
NoErrors 

No errors occurred while starting the database server

NotSupported 

The requested database type is not supported.

StartError 

A error has occurred while starting the database server executable.

Constructor & Destructor Documentation

◆ DatabaseServerError() [1/2]

Digikam::DatabaseServerError::DatabaseServerError ( DatabaseServerErrorEnum  errorType = NoErrors,
const QString &  errorText = QString() 
)
explicit

◆ DatabaseServerError() [2/2]

Digikam::DatabaseServerError::DatabaseServerError ( const DatabaseServerError dbServerError)

◆ ~DatabaseServerError()

Digikam::DatabaseServerError::~DatabaseServerError ( )

Member Function Documentation

◆ getErrorText()

QString Digikam::DatabaseServerError::getErrorText ( ) const

◆ getErrorType()

◆ setErrorText()

void Digikam::DatabaseServerError::setErrorText ( const QString &  errorText)

◆ setErrorType()

void Digikam::DatabaseServerError::setErrorType ( DatabaseServerErrorEnum  errorType)

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