mx4j.adaptor.http
Class HttpException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--mx4j.adaptor.http.HttpException
All Implemented Interfaces:
java.io.Serializable

public class HttpException
extends java.io.IOException

HttpException is emitted when an error parsing an HTTP request appears

Version:
$Revision: 1.3 $
Author:
Carlos Quiroz
See Also:
Serialized Form

Field Summary
protected  int code
          Error code
 
Constructor Summary
HttpException(int code, java.lang.String description)
          Constructor for the HttpException object
 
Method Summary
 int getCode()
          Return the exception code
 org.w3c.dom.Document getResponseDoc()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

code

protected int code
Error code
Constructor Detail

HttpException

public HttpException(int code,
                     java.lang.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 org.w3c.dom.Document getResponseDoc()


Copyright © 2001-2002 MX4J Team. All Rights Reserved.