/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to include/sqlite3cc/exception.h

  • Committer: edam
  • Date: 2010-01-31 21:12:21 UTC
  • Revision ID: edam@waxworlds.org-20100131211221-5xtrhfrchozhk326
- rewrote transaction classes and added transaction_guard
- removed leftover code (sqlite_busy error)
- added tests for transactions

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
};
101
101
 
102
102
 
103
 
/**
104
 
 * An sqlite error that indicates the database was busy
105
 
 */
106
 
class sqlite_busy
107
 
        :
108
 
        public sqlite_error
109
 
{
110
 
public:
111
 
        sqlite_busy()
112
 
                :
113
 
                sqlite_error( "database was busy", SQLITE_BUSY )
114
 
        { }
115
 
};
116
 
 
117
 
 
118
103
} // namespace sqlite
119
104
 
120
105