ix.util.http
Class HttpRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by ix.util.http.HttpRequestException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IServeCommServer.AbandonRequest

public class HttpRequestException
extends java.io.IOException

Indicates that an HTTP request should return a given error status and reason.

See Also:
Serialized Form

Constructor Summary
HttpRequestException(int status, java.lang.String reason)
           
 
Method Summary
 java.lang.String getReason()
           
 int getStatus()
           
 
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 status,
                            java.lang.String reason)
Method Detail

getStatus

public int getStatus()

getReason

public java.lang.String getReason()