org.codegist.crest
Class HttpException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.codegist.crest.HttpException
All Implemented Interfaces:
Serializable

public class HttpException
extends RuntimeException

Author:
Laurent Gilles (laurent.gilles@codegist.org)
See Also:
Serialized Form

Constructor Summary
HttpException(String message, HttpResponse response)
           
HttpException(String message, HttpResponse response, Throwable cause)
           
HttpException(Throwable cause)
           
HttpException(Throwable cause, HttpResponse response)
           
 
Method Summary
 HttpResponse getResponse()
           
 String getResponseString()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpException

public HttpException(Throwable cause)

HttpException

public HttpException(String message,
                     HttpResponse response)

HttpException

public HttpException(Throwable cause,
                     HttpResponse response)

HttpException

public HttpException(String message,
                     HttpResponse response,
                     Throwable cause)
Method Detail

getResponse

public HttpResponse getResponse()

getResponseString

public String getResponseString()


Copyright © 2011. All Rights Reserved.