Java™ Platform
Standard Ed. 8
javax.imageio.metadata

Class IIOInvalidTreeException

    • Field Detail

      • offendingNode

        protected Node offendingNode
        The Node that led to the parsing error, or null.
    • Constructor Detail

      • IIOInvalidTreeException

        public IIOInvalidTreeException(String message,
                                       Node offendingNode)
        Constructs an IIOInvalidTreeException with a message string and a reference to the Node that caused the parsing error.
        Parameters:
        message - a String containing the reason for the parsing failure.
        offendingNode - the DOM Node that caused the exception, or null.
      • IIOInvalidTreeException

        public IIOInvalidTreeException(String message,
                                       Throwable cause,
                                       Node offendingNode)
        Constructs an IIOInvalidTreeException with a message string, a reference to an exception that caused this exception, and a reference to the Node that caused the parsing error.
        Parameters:
        message - a String containing the reason for the parsing failure.
        cause - the Throwable (Error or Exception) that caused this exception to occur, or null.
        offendingNode - the DOM Node that caused the exception, or null.
    • Method Detail

      • getOffendingNode

        public Node getOffendingNode()
        Returns the Node that caused the error in parsing.
        Returns:
        the offending Node.
Java™ Platform
Standard Ed. 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部