Summ:  Constr. Methods    Details:  Constr. Methods      Class:  Serial Next
com.artfulbits.aiCharts.Exceptions
Class XmlElementAttributeNotFoundException

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

Declaration: public class XmlElementAttributeNotFoundException extends java.lang.RuntimeException
All Interfaces: java.io.Serializable

 

Represents XmlElementAttributeNotFoundException class.

 

Since: 1.0
See also: Serialization

 

 

Constructors Summary
XmlElementAttributeNotFoundException(java.lang.String message, org.w3c.dom.Node targetNode, java.lang.String attributeName)
    
Initializes a new instance of XmlElementAttributeNotFoundException with specified parameters.

 

 

Methods Summary
java.lang.String getAttributeName()
    
Gets the name of attribute that is missing for the specified node.
org.w3c.dom.Node getNode()
    
Gets node that failed to provide specified attribute.

 

Methods inherited from class: java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class: java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

 

 

 

XmlElementAttributeNotFoundException

 

public XmlElementAttributeNotFoundException( java.lang.String message,
org.w3c.dom.Node targetNode,
java.lang.String attributeName)

 

Initializes a new instance of XmlElementAttributeNotFoundException with specified parameters.

 

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

 

Since: 1.0

 

 

 

 

getNode

 

public org.w3c.dom.Node getNode( )

 

Gets node that failed to provide specified attribute.

 

Returns:
instance of org.w3c.dom.Node.

 

Since: 1.0

 

 

 

getAttributeName

 

public java.lang.String getAttributeName( )

 

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

 

Returns:
attribute name.

 

Since: 1.0

 

 

© 2005 - 2010 ArtfulBits. All rights reserved.