org.openrdf.http.object.exceptions
Class Gone
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openrdf.http.object.exceptions.ResponseException
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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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)
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.