clean up DBException::toString #467

closes #467