org.apache.felix.mosgi.jmx.httpconnector.mx4j.tools.adaptor.http
Class HttpException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.felix.mosgi.jmx.httpconnector.mx4j.tools.adaptor.http.HttpException
All Implemented Interfaces:
Serializable

public class HttpException
extends IOException

HttpException is emitted when an error parsing an HTTP request appears

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

Field Summary
protected  int code
          Error code
 
Constructor Summary
HttpException(int code, 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, 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
 

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 org.w3c.dom.Document getResponseDoc()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.