Package nu.xom.xinclude
Class BadHrefAttributeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- nu.xom.xinclude.XIncludeException
-
- nu.xom.xinclude.BadHrefAttributeException
-
- All Implemented Interfaces:
java.io.Serializable
public class BadHrefAttributeException extends XIncludeException
Indicates that an
href
attribute contains an illegal value, such as a URI with a fragment identifier, or a syntactically incorrect IRI.- Version:
- 1.1b3
- Author:
- Elliotte Rusty Harold
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadHrefAttributeException(java.lang.String message)
Constructs aBadHrefAttributeException
with the specified detail message.BadHrefAttributeException(java.lang.String message, java.lang.String uri)
Creates a newBadHrefAttributeException
with a detail message and the URI of the document that caused the exception.
-
Method Summary
-
Methods inherited from class nu.xom.xinclude.XIncludeException
getCause, getURI, initCause
-
-
-
-
Constructor Detail
-
BadHrefAttributeException
public BadHrefAttributeException(java.lang.String message)
Constructs a
BadHrefAttributeException
with the specified detail message.- Parameters:
message
- a string indicating the specific problem
-
BadHrefAttributeException
public BadHrefAttributeException(java.lang.String message, java.lang.String uri)
Creates a new
BadHrefAttributeException
with a detail message and the 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
-
-