[Xapian-discuss] Re: 1.0 news, and a call for testing
Fabrice Colin
fabrice.colin at gmail.com
Sun May 6 06:50:09 BST 2007
Hello again,
If I try to open a database created by an older version, a DatabaseOpeningError
is thrown :
"
Flint version file /home/fabrice/.pinot/daemon/iamflint is version 200506110 but
I only understand 200704230u
"
Apart from parsing the actual message, is there an easy way to determine that
the DB couldn't be open because the format version is not understood, as opposed
to any other case for which a DatabaseOpeningError may be thrown ?
What about throwing a DatabaseVersionError exception instead ?
Cheers.
Fabrice
More information about the Xapian-discuss
mailing list