Documentation: add thrown exceptions