nu.xom.xinclude
Class BadHTTPHeaderException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by nu.xom.xinclude.XIncludeException
              extended by nu.xom.xinclude.BadHTTPHeaderException
All Implemented Interfaces:
Serializable

public class BadHTTPHeaderException
extends XIncludeException

Indicates that an accept or accept-language attribute contains C0 control characters (including linefeed, tab, or carriage return) or non-ASCII characters.

Version:
1.1b3
Author:
Elliotte Rusty Harold
See Also:
Serialized Form

Constructor Summary
BadHTTPHeaderException(String message)
           Constructs a BadHTTPHeaderException with the specified detail message.
BadHTTPHeaderException(String message, String uri)
           Creates a new BadHTTPHeaderException with a detail message and a URI of the document that caused the exception.
 
Method Summary
 
Methods inherited from class nu.xom.xinclude.XIncludeException
getCause, getURI, initCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BadHTTPHeaderException

public BadHTTPHeaderException(String message)

Constructs a BadHTTPHeaderException with the specified detail message.

Parameters:
message - a string indicating the specific problem

BadHTTPHeaderException

public BadHTTPHeaderException(String message,
                              String uri)

Creates a new BadHTTPHeaderException with a detail message and a URI of the document that caused the exception.

Parameters:
message - a string indicating the specific problem
uri - the URI of the document that caused this exception


Copyright 2002-2010 Elliotte Rusty Harold
elharo@ibiblio.org