org.openrdf.http.object.exceptions
Class NotFound
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openrdf.http.object.exceptions.ResponseException
org.openrdf.http.object.exceptions.NotFound
- All Implemented Interfaces:
- Serializable
public class NotFound
- extends ResponseException
The server has not found anything matching the request-target. No indication
is given of whether the condition is temporary or permanent. The 410 (Gone)
status code SHOULD be used if the server knows, through some internally
configurable mechanism, that an old resource is permanently unavailable and
has no forwarding address. This status code is commonly used when the server
does not wish to reveal exactly why the request has been refused, or when no
other response is applicable.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NotFound
public NotFound()
NotFound
public NotFound(String message)
NotFound
public NotFound(String message,
Throwable cause)
NotFound
public NotFound(Throwable cause)
NotFound
public NotFound(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.