exceptions added to api