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:
java.io.Serializable
public class BadHTTPHeaderException extends XIncludeException
Indicates that an
acceptoraccept-languageattribute 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
Constructors Constructor Description BadHTTPHeaderException(java.lang.String message)Constructs aBadHTTPHeaderExceptionwith the specified detail message.BadHTTPHeaderException(java.lang.String message, java.lang.String uri)Creates a newBadHTTPHeaderExceptionwith 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
-
-
-
-
Constructor Detail
-
BadHTTPHeaderException
public BadHTTPHeaderException(java.lang.String message)
Constructs a
BadHTTPHeaderExceptionwith the specified detail message.- Parameters:
message- a string indicating the specific problem
-
BadHTTPHeaderException
public BadHTTPHeaderException(java.lang.String message, java.lang.String uri)Creates a new
BadHTTPHeaderExceptionwith 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
-
-