@@ -119,7 +119,7 @@ public class WebServiceClient implements GeoIp2Provider {
119119
120120 /**
121121 * <code>Builder</code> creates instances of
122- * <code>WebServiceClient</client > from values set by the methods.
122+ * <code>WebServiceClient</code > from values set by the methods.
123123 *
124124 * This example shows how to create a <code>WebServiceClient</code> object
125125 * with the <code>Builder</code>:
@@ -198,8 +198,8 @@ public WebServiceClient build() {
198198
199199 /**
200200 * @return A Country model for the requesting IP address
201- * @throws GeoIp2Exception
202- * @throws IOException
201+ * @throws GeoIp2Exception if there is an error from the web service
202+ * @throws IOException if an IO error happens during the request
203203 */
204204 public CountryResponse country () throws IOException , GeoIp2Exception {
205205 return this .country (null );
@@ -213,8 +213,8 @@ public CountryResponse country(InetAddress ipAddress) throws IOException,
213213
214214 /**
215215 * @return A City model for the requesting IP address
216- * @throws GeoIp2Exception
217- * @throws IOException
216+ * @throws GeoIp2Exception if there is an error from the web service
217+ * @throws IOException if an IO error happens during the request
218218 */
219219 public CityResponse city () throws IOException , GeoIp2Exception {
220220 return this .city (null );
@@ -228,8 +228,8 @@ public CityResponse city(InetAddress ipAddress) throws IOException,
228228
229229 /**
230230 * @return A City/ISP/Org model for the requesting IP address
231- * @throws GeoIp2Exception
232- * @throws IOException
231+ * @throws GeoIp2Exception if there is an error from the web service
232+ * @throws IOException if an IO error happens during the request
233233 */
234234 public CityIspOrgResponse cityIspOrg () throws IOException , GeoIp2Exception {
235235 return this .cityIspOrg (null );
@@ -244,8 +244,8 @@ public CityIspOrgResponse cityIspOrg(InetAddress ipAddress)
244244
245245 /**
246246 * @return An Omni model for the requesting IP address
247- * @throws GeoIp2Exception
248- * @throws IOException
247+ * @throws GeoIp2Exception if there is an error from the web service
248+ * @throws IOException if an IO error happens during the request
249249 */
250250 public OmniResponse omni () throws IOException , GeoIp2Exception {
251251 return this .omni (null );
0 commit comments