Package nu.xom.xinclude
Class BadHTTPHeaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
nu.xom.xinclude.XIncludeException
nu.xom.xinclude.BadHTTPHeaderException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionBadHTTPHeaderException
(String message) Constructs aBadHTTPHeaderException
with the specified detail message.BadHTTPHeaderException
(String message, String uri) Creates a newBadHTTPHeaderException
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
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadHTTPHeaderException
Constructs a
BadHTTPHeaderException
with the specified detail message.- Parameters:
message
- a string indicating the specific problem
-
BadHTTPHeaderException
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 problemuri
- the URI of the document that caused this exception
-