Added basedades.db in gitignore.
Improved exception messages.