public class NamespaceConflictException extends WellformednessException
Signals an attempt to set a namespace in a way that conflicts with an existing namespace; for instance, adding an attribute to an element that has the same prefix as the element but maps it to a different URI.
Constructor and Description |
---|
NamespaceConflictException(String message)
Creates a new
NamespaceConflictException
with a detail message. |
NamespaceConflictException(String message,
Throwable cause)
Creates a new
NamespaceConflictException
with a detail message and an underlying root cause. |
getCause, initCause
public NamespaceConflictException(String message)
Creates a new NamespaceConflictException
with a detail message.
message
- a string indicating the specific problempublic NamespaceConflictException(String message, Throwable cause)
Creates a new NamespaceConflictException
with a detail message and an underlying root cause.
message
- a string indicating the specific problemcause
- the original cause of this exceptionCopyright 2002-2023 Elliotte Rusty Harold
elharo@ibiblio.org