public class LiveDocumentNotAvailableException extends WaybackException
Commonly thrown by user-facing live-web-proxy implementations, but also used by internal robots.txt access service.
Modifier and Type | Field and Description |
---|---|
protected static String |
defaultMessage |
protected static String |
ID |
GENERIC_ID, id, isLiveWebAvailable, KEY_MESSAGE_SUFFIX, KEY_PREFIX, KEY_TITLE_SUFFIX
Constructor and Description |
---|
LiveDocumentNotAvailableException(String url) |
LiveDocumentNotAvailableException(URL url,
int code)
Constructor
|
LiveDocumentNotAvailableException(URL url,
int code,
String details)
Constructor with message and details
|
Modifier and Type | Method and Description |
---|---|
int |
getStatus() |
getDetails, getMessage, getMessageKey, getTitle, getTitleKey, isLiveWebAvailable, setLiveWebAvailable, setupResponse
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected static final String ID
protected static final String defaultMessage
public LiveDocumentNotAvailableException(URL url, int code)
url
- code
- public LiveDocumentNotAvailableException(URL url, int code, String details)
url
- code
- details
- public LiveDocumentNotAvailableException(String url)
url
- public int getStatus()
getStatus
in class WaybackException
Copyright © 2005–2015 IIPC. All rights reserved.