You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
719 B
36 lines
719 B
#ifndef _DATABASE_EXCEPTION_HPP
|
|
#define _DATABASE_EXCEPTION_HPP
|
|
|
|
#include "svnqt/exception.hpp"
|
|
|
|
namespace svn
|
|
{
|
|
namespace cache
|
|
{
|
|
|
|
class SVNTQT_EXPORT DatabaseException:public svn::Exception
|
|
{
|
|
private:
|
|
DatabaseException()throw();
|
|
int m_number;
|
|
|
|
public:
|
|
DatabaseException(const TQString&msg)throw()
|
|
: Exception(msg),m_number(-1)
|
|
{}
|
|
|
|
DatabaseException(const DatabaseException&src)throw()
|
|
: Exception(src.msg()),m_number(src.number())
|
|
{}
|
|
DatabaseException(const TQString&msg,int aNumber)throw();
|
|
virtual ~DatabaseException()throw(){}
|
|
int number() const
|
|
{
|
|
return m_number;
|
|
}
|
|
};
|
|
|
|
}
|
|
}
|
|
#endif
|