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.
Constructor and Description |
---|
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. |
getCause, getURI, initCause
public BadHTTPHeaderException(String message)
Constructs a BadHTTPHeaderException
with
the specified detail message.
message
- a string indicating the specific problempublic BadHTTPHeaderException(String message, String uri)
Creates a new BadHTTPHeaderException
with a detail
message and a URI of the document
that caused the exception.
message
- a string indicating the specific problemuri
- the URI of the document that caused this exceptionCopyright 2002-2023 Elliotte Rusty Harold
elharo@ibiblio.org