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

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