summaryrefslogtreecommitdiffstats
path: root/src/svnqt/cache/DatabaseException.cpp
blob: 7ca796aa0f4e3f516a6ebc900df298b863994b88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "DatabaseException.h"

/*!
    \fn svn::cache::DatabaseException::DatabaseException(const TQString&msg,int aNumber)throw()
 */
svn::cache::DatabaseException::DatabaseException(const TQString&msg,int aNumber)throw()
    : Exception(msg),m_number(aNumber)
{
    if (aNumber>-1) {
        setMessage(TQString("(Code %1) %2").arg(aNumber).arg(msg));
    }
}