com.flat502.rox.http
Class HttpMessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.flat502.rox.http.HttpMessageException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
HttpResponseException

public class HttpMessageException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
HttpMessageException(HttpMessageBuffer msg, java.lang.Exception e)
           
HttpMessageException(java.lang.String errMsg, HttpMessageBuffer msg)
           
 
Method Summary
 HttpMessageBuffer getMsg()
           
 
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

HttpMessageException

public HttpMessageException(java.lang.String errMsg,
                            HttpMessageBuffer msg)

HttpMessageException

public HttpMessageException(HttpMessageBuffer msg,
                            java.lang.Exception e)
Method Detail

getMsg

public HttpMessageBuffer getMsg()
Returns:
The associated HttpMessageBuffer if this exception resulted from the processing of that message, or null if none existed.