org.openrdf.http.object.exceptions
Class Gone

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openrdf.http.object.exceptions.ResponseException
                  extended by org.openrdf.http.object.exceptions.Gone
All Implemented Interfaces:
Serializable

public class Gone
extends ResponseException

The requested resource is no longer available at the server and no forwarding address is known. This condition is expected to be considered permanent. Clients with link editing capabilities SHOULD delete references to the request-target after user approval. If the server does not know, or has no facility to determine, whether or not the condition is permanent, the status code 404 (Not Found) SHOULD be used instead. This response is cacheable unless indicated otherwise.

See Also:
Serialized Form

Constructor Summary
Gone()
           
Gone(String message)
           
Gone(String message, String stack)
           
Gone(String message, Throwable cause)
           
Gone(Throwable cause)
           
 
Method Summary
 int getStatusCode()
           
 boolean isCommon()
           
 
Methods inherited from class org.openrdf.http.object.exceptions.ResponseException
create, create, getDetailMessage, getLongMessage, getShortMessage, printTo
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Gone

public Gone()

Gone

public Gone(String message)

Gone

public Gone(String message,
            Throwable cause)

Gone

public Gone(Throwable cause)

Gone

public Gone(String message,
            String stack)
Method Detail

getStatusCode

public int getStatusCode()
Specified by:
getStatusCode in class ResponseException

isCommon

public boolean isCommon()
Specified by:
isCommon in class ResponseException


Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.