public final class InvalidRequestException extends GeoIp2Exception
Constructor and Description |
---|
InvalidRequestException(String message,
String code,
int httpStatus,
URL url,
Throwable e) |
InvalidRequestException(String message,
String code,
URL url) |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
URL |
getUrl() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidRequestException(String message, String code, URL url)
message
- A message explaining the cause of the error.code
- The error code returned by the web service.url
- The URL queried.public InvalidRequestException(String message, String code, int httpStatus, URL url, Throwable e)
message
- A message explaining the cause of the error.code
- The error code returned by the web service.httpStatus
- The HTTP status of the response.url
- The URL queried.e
- The cause of the exception.Copyright © 2014 MaxMind, Inc.. All Rights Reserved.