make parser base exception public