org.openrdf.http.object.exceptions
Class NotAcceptable

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.NotAcceptable
All Implemented Interfaces:
Serializable

public class NotAcceptable
extends ResponseException

The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request.

See Also:
Serialized Form

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

NotAcceptable

public NotAcceptable()

NotAcceptable

public NotAcceptable(String message)

NotAcceptable

public NotAcceptable(String message,
                     Throwable cause)

NotAcceptable

public NotAcceptable(Throwable cause)

NotAcceptable

public NotAcceptable(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.