com.debianmirror.http
Class HttpRequestException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.debianmirror.http.HttpRequestException
All Implemented Interfaces:
java.io.Serializable

public class HttpRequestException
extends java.lang.RuntimeException

Exception thrown in HttpRequestHeader. Adds the human readable reason phrase to known error codes

Author:
E01 - Jonas Jagerhok
See Also:
Serialized Form

Constructor Summary
HttpRequestException(int code)
           
 
Method Summary
 int getStatusCode()
           
 java.lang.String getStatusLine()
           
 
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
 

Constructor Detail

HttpRequestException

public HttpRequestException(int code)
Method Detail

getStatusLine

public java.lang.String getStatusLine()

getStatusCode

public int getStatusCode()


Copyright © 2004, Apt-Got Group