RE: exporting functions which raise exceptions