mx4j.tools.adaptor.http

Class HttpException

public class HttpException extends IOException

HttpException is emitted when an error parsing an HTTP request appears

Version: $Revision: 1.3 $

Field Summary
protected intcode
Error code
Constructor Summary
HttpException(int code, String description)
Constructor for the HttpException object
Method Summary
intgetCode()
Return the exception code
DocumentgetResponseDoc()

Field Detail

code

protected int code
Error code

Constructor Detail

HttpException

public HttpException(int code, String description)
Constructor for the HttpException object

Parameters: code Error code description Description

Method Detail

getCode

public int getCode()
Return the exception code

getResponseDoc

public Document getResponseDoc()
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.