public class IllegalCharacterDataException extends IllegalDataException
Indicates an attempt to create text content that is not allowed in XML 1.0. For example, this could be a text node that contains a vertical tab or an attribute value that contains an unmatched surrogate character.
Constructor and Description |
---|
IllegalCharacterDataException(String message)
Creates a new
IllegalCharacterDataException
with a detail message. |
IllegalCharacterDataException(String message,
Throwable cause)
Creates a new
IllegalCharacterDataException
with a detail message and an underlying root cause. |
getData, setData
getCause, initCause
public IllegalCharacterDataException(String message)
Creates a new IllegalCharacterDataException
with a detail message.
message
- a string indicating the specific problempublic IllegalCharacterDataException(String message, Throwable cause)
Creates a new IllegalCharacterDataException
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