summaryrefslogtreecommitdiffstats
path: root/src/svnqt/cache/DatabaseException.cpp
blob: 880c041b5b26b66523247851c09fb0326ef0373a (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").tqarg(aNumber).tqarg(msg));
    }
}