replaced asserts with actual Exceptions; added RiotApiException