public class

XmlElementAttributeNotFoundException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.artfulbits.aiCharts.Exceptions.XmlElementAttributeNotFoundException

Class Overview

Represents XmlElementAttributeNotFoundException class.

Summary

Public Constructors
XmlElementAttributeNotFoundException(String message, Node targetNode, String attributeName)
Initializes a new instance of XmlElementAttributeNotFoundException with specified parameters.
Public Methods
String getAttributeName()
Gets the name of attribute that is missing for the specified node.
Node getNode()
Gets node that failed to provide specified attribute.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public XmlElementAttributeNotFoundException (String message, Node targetNode, String attributeName)

Initializes a new instance of XmlElementAttributeNotFoundException with specified parameters.

Parameters
message message that describes an exception.
targetNode instance of Node class that failed to provide required attribute name.
attributeName name of attribute that is missing on specified targetNode.

Public Methods

public String getAttributeName ()

Gets the name of attribute that is missing for the specified node.

Returns
  • attribute name.

public Node getNode ()

Gets node that failed to provide specified attribute.

Returns