org.mule.transport.http
Class HttpResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.mule.transport.http.HttpResponseException
All Implemented Interfaces:
java.io.Serializable

public class HttpResponseException
extends java.lang.Exception

A wrapper exceptin for any http client return codes over the 400 range

See Also:
Serialized Form

Constructor Summary
HttpResponseException(java.lang.String responseText, int responseCode)
           
 
Method Summary
 int getResponseCode()
           
 java.lang.String getResponseText()
           
 
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

HttpResponseException

public HttpResponseException(java.lang.String responseText,
                             int responseCode)
Method Detail

getResponseText

public java.lang.String getResponseText()

getResponseCode

public int getResponseCode()


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.