org.openrdf.http.object.exceptions
Class NotFound

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.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

Constructor Summary
NotFound()
           
NotFound(String message)
           
NotFound(String message, String stack)
           
NotFound(String message, Throwable cause)
           
NotFound(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

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)
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.