org.openrdf.http.object.exceptions
Class UnsupportedMediaType

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

public class UnsupportedMediaType
extends ResponseException

The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.

See Also:
Serialized Form

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

UnsupportedMediaType

public UnsupportedMediaType()

UnsupportedMediaType

public UnsupportedMediaType(String message)

UnsupportedMediaType

public UnsupportedMediaType(String message,
                            Throwable cause)

UnsupportedMediaType

public UnsupportedMediaType(Throwable cause)

UnsupportedMediaType

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