org.w3c.www.http
Class HttpAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.w3c.www.http.HttpAccessException
All Implemented Interfaces:
java.io.Serializable

public class HttpAccessException
extends java.lang.RuntimeException

Invalid access to an HTTP message header. Invalid access to HTTP message headers can take several forms.

See Also:
Serialized Form

Constructor Summary
HttpAccessException(int idx)
          Invalid header index.
HttpAccessException(java.lang.String name)
          Invalid header name.
 
Method Summary
 
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

HttpAccessException

public HttpAccessException(int idx)
Invalid header index.

Parameters:
idx - The faulty header index.

HttpAccessException

public HttpAccessException(java.lang.String name)
Invalid header name.

Parameters:
name - The name of the unknown header.