rename MiscApiException to ApiException