#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));
    }
}
