Modifier and Type | Field and Description |
---|---|
private static final Pattern | |
private final SimpleHttpResponse | |
private static final Logger | |
private static String | |
private final String |
Access | Constructor and Description |
---|---|
public | |
protected | |
public | |
public | |
public | |
public | |
public |
Modifier and Type | Method and Description |
---|---|
public Optional | |
public String | getLocalizedMessage()
Overrides org. Creates a localized description of this throwable. |
private String | |
private String | |
public static Object | |
public Optional | |
public static FetcherException |
API_KEY_PATTERN | back to summary |
---|---|
private static final Pattern API_KEY_PATTERN |
httpResponse | back to summary |
---|---|
private final SimpleHttpResponse httpResponse |
LOGGER | back to summary |
---|---|
private static final Logger LOGGER |
REDACTED_STRING | back to summary |
---|---|
private static String REDACTED_STRING |
url | back to summary |
---|---|
private final String url |
FetcherException | back to summary |
---|---|
public FetcherException(String url, SimpleHttpResponse httpResponse) |
FetcherException | back to summary |
---|---|
protected FetcherException(URL url, SimpleHttpResponse httpResponse) |
FetcherException | back to summary |
---|---|
public FetcherException(URL url, Throwable cause) |
FetcherException | back to summary |
---|---|
public FetcherException(URL url, String errorMessage, Throwable cause) |
FetcherException | back to summary |
---|---|
public FetcherException(String errorMessage, Throwable cause) |
FetcherException | back to summary |
---|---|
public FetcherException(String errorMessage) |
FetcherException | back to summary |
---|---|
public FetcherException(String errorMessage, String localizedMessage, Throwable cause) |
getHttpResponse | back to summary |
---|---|
public Optional |
getLocalizedMessage | back to summary |
---|---|
public String getLocalizedMessage() Overrides org. Doc from java. Creates a localized description of this throwable.
Subclasses may override this method in order to produce a
locale-specific message. For subclasses that do not override this
method, the default implementation returns the same result as
|
getPrefix | back to summary |
---|---|
private String getPrefix() |
getRedactedUrl | back to summary |
---|---|
private String getRedactedUrl() |
getRedactedUrl | back to summary |
---|---|
public static Object getRedactedUrl(URL source) |
getUrl | back to summary |
---|---|
public Optional |
of | back to summary |
---|---|
public static FetcherException of(URL url, SimpleHttpResponse simpleHttpResponse) |