org.archive.wayback.exception
Class LiveWebCacheUnavailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.archive.wayback.exception.WaybackException
              extended by org.archive.wayback.exception.LiveWebCacheUnavailableException
All Implemented Interfaces:
Serializable

public class LiveWebCacheUnavailableException
extends WaybackException

Author:
brad
See Also:
Serialized Form

Field Summary
protected static String defaultMessage
           
protected static String ID
           
 
Fields inherited from class org.archive.wayback.exception.WaybackException
GENERIC_ID, id, KEY_MESSAGE_SUFFIX, KEY_PREFIX, KEY_TITLE_SUFFIX
 
Constructor Summary
LiveWebCacheUnavailableException(String url)
           
LiveWebCacheUnavailableException(URL url, int code)
          Constructor
LiveWebCacheUnavailableException(URL url, int code, String details)
          Constructor with message and details
 
Method Summary
 int getStatus()
           
 
Methods inherited from class org.archive.wayback.exception.WaybackException
getDetails, getMessage, getMessageKey, getTitle, getTitleKey, setupResponse
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

protected static final String ID
See Also:
Constant Field Values

defaultMessage

protected static final String defaultMessage
See Also:
Constant Field Values
Constructor Detail

LiveWebCacheUnavailableException

public LiveWebCacheUnavailableException(URL url,
                                        int code)
Constructor

Parameters:
url -
code -

LiveWebCacheUnavailableException

public LiveWebCacheUnavailableException(URL url,
                                        int code,
                                        String details)
Constructor with message and details

Parameters:
url -
code -
details -

LiveWebCacheUnavailableException

public LiveWebCacheUnavailableException(String url)
Parameters:
url -
Method Detail

getStatus

public int getStatus()
Overrides:
getStatus in class WaybackException
Returns:
the HTTP status code appropriate to this exception class.


Copyright © 2005-2011 Internet Archive. All Rights Reserved.