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

/*!
    \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));
    }
}