anon.proxy
Class HTTPHeaderParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by anon.proxy.ProxyCallbackNotProcessableException
              extended by anon.proxy.HTTPHeaderParseException
All Implemented Interfaces:
java.io.Serializable

public class HTTPHeaderParseException
extends ProxyCallbackNotProcessableException

See Also:
Serialized Form

Constructor Summary
HTTPHeaderParseException(int errorCode, int headerType)
           
HTTPHeaderParseException(int errorCode, int headerType, java.lang.String message)
           
 
Method Summary
 byte[] getErrorResponse()
          A response as byte array to sent to the host
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

HTTPHeaderParseException

public HTTPHeaderParseException(int errorCode,
                                int headerType)

HTTPHeaderParseException

public HTTPHeaderParseException(int errorCode,
                                int headerType,
                                java.lang.String message)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getErrorResponse

public byte[] getErrorResponse()
Description copied from class: ProxyCallbackNotProcessableException
A response as byte array to sent to the host

Overrides:
getErrorResponse in class ProxyCallbackNotProcessableException
Returns:
the protocol specific error response as byte array