org.jcoderz.commons.connector.http.transport
Class HttpInvalidResponseHeaderException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jcoderz.commons.connector.http.transport.HttpConnectionException
              extended by org.jcoderz.commons.connector.http.transport.HttpInvalidResponseHeaderException
All Implemented Interfaces:
Serializable

public class HttpInvalidResponseHeaderException
extends HttpConnectionException

HttpConnectionException indicates one or more invalid http header received in response.

See Also:
Serialized Form

Constructor Summary
HttpInvalidResponseHeaderException(String message)
          Constructor.
HttpInvalidResponseHeaderException(String message, Map invalidHeader)
          Constructor.
 
Method Summary
 Map getInvalidParameter()
          Gets the invalid header parameters received in response.
 
Methods inherited from class org.jcoderz.commons.connector.http.transport.HttpConnectionException
getHttpMessage, getStatusCode, getStatusReason
 
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

HttpInvalidResponseHeaderException

public HttpInvalidResponseHeaderException(String message)
Constructor.

Parameters:
message - describing the HTTP error

HttpInvalidResponseHeaderException

public HttpInvalidResponseHeaderException(String message,
                                          Map invalidHeader)
Constructor.

Parameters:
message - describing the HTTP error
invalidHeader - the invalid header parmeter received
Method Detail

getInvalidParameter

public Map getInvalidParameter()
Gets the invalid header parameters received in response.

Returns:
Map a map of invalid header key value pairs


Copyright 2007 The jCoderZ Project.