public class InvalidRequestException extends MinFraudException
| 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() |
int |
getHttpStatus() |
URL |
getUrl() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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.public final String getCode()
public final int getHttpStatus()
public final URL getUrl()
Copyright © 2017 MaxMind, Inc.. All rights reserved.