electric.http
Class HttpGetException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byelectric.http.HttpGetException
All Implemented Interfaces:
java.io.Serializable

public class HttpGetException
extends java.io.IOException

HttpGetException

Author:
webMethods
See Also:
Serialized Form

Constructor Summary
HttpGetException()
           
HttpGetException(java.lang.String message, int statusCode, java.lang.String httpMessage, InboundHTTPResponse response, int bodyLength)
           
HttpGetException(java.lang.String message, java.lang.String body)
           
 
Method Summary
 java.lang.String getBody()
           
 int getStatusCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpGetException

public HttpGetException()

HttpGetException

public HttpGetException(java.lang.String message,
                        int statusCode,
                        java.lang.String httpMessage,
                        InboundHTTPResponse response,
                        int bodyLength)
Parameters:
message -
statusCode -
httpMessage -
response -
bodyLength -

HttpGetException

public HttpGetException(java.lang.String message,
                        java.lang.String body)
Parameters:
message -
body -
Method Detail

getBody

public java.lang.String getBody()
Returns:
part of the http error response body, or null.

getStatusCode

public int getStatusCode()
Returns:
the http error status code.

toString

public java.lang.String toString()
Returns:
a string representaiton of this exception.


copyright© 2001-2004 by webMethods All Rights Reserved.