org.apache.felix.mosgi.jmx.httpconnector.mx4j.tools.adaptor.http
Class HttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
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 |
code
protected int code
- Error code
HttpException
public HttpException(int code,
String description)
- Constructor for the HttpException object
- Parameters:
code
- Error codedescription
- Description
getCode
public int getCode()
- Return the exception code
getResponseDoc
public Document getResponseDoc()
Copyright © 2011 Apache Software Foundation. All Rights Reserved.