throw new NullPointerException(
"Neither the dtoClass nor the dtoType is set for that ApiMethod. Please manually set either of these as parameter for getDto().");
}
public <T> T getDto(Class<T> desiredDto) throws RiotApiException, RateLimitException {
requireSucceededRequestState();
<BUG>if (responseCode == CODE_SUCCESS_NOCONTENT) {
</BUG>
return null;
}
T dto = null;

throw new NullPointerException(
"Neither the dtoClass nor the dtoType is set for that ApiMethod. Please manually set either of these as parameter for getDto().");
}
public <T> T getDto(Class<T> desiredDto) throws RiotApiException, RateLimitException {
requireSucceededRequestState();
if (responseCode == CODE_SUCCESS_NO_CONTENT) {
return null;
}
T dto = null;
