org.openrdf.http.object.exceptions
Class BadRequest

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

public class BadRequest
extends ResponseException

The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.

See Also:
Serialized Form

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

BadRequest

public BadRequest()

BadRequest

public BadRequest(String message)

BadRequest

public BadRequest(String message,
                  Throwable cause)

BadRequest

public BadRequest(Throwable cause)

BadRequest

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