electric.http
Class HttpGetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
electric.http.HttpGetException
- All Implemented Interfaces:
- java.io.Serializable
- public class HttpGetException
- extends java.io.IOException
HttpGetException
- Author:
- webMethods
- See Also:
- Serialized Form
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 |
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
-
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.