uk.org.ogsadai.common.xml
Class XMLEmptyAttributeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.exception.DAIException
                    |
                    +--uk.org.ogsadai.common.xml.XMLEmptyAttributeException
All Implemented Interfaces:
DAIExceptionInformation, java.io.Serializable

public class XMLEmptyAttributeException
extends DAIException

An expected attribute is empty from an element in an XML document.

Associated with: ErrorID.XML_EMPTY_ATTR_ERROR.

Author:
The OGSA-DAI Project Team
See Also:
Serialized Form

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
private  java.lang.String mAttr
          Attribute name
private  java.lang.String mElt
          Element name
 
Fields inherited from class uk.org.ogsadai.exception.DAIException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
XMLEmptyAttributeException(java.lang.String attr, java.lang.String elt)
          Constructor.
 
Method Summary
 java.lang.String getAttribute()
          Gets the attribute name
 java.lang.String getElement()
          Gets the element name
 
Methods inherited from class uk.org.ogsadai.exception.DAIException
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild, setErrorID, setParameters
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

mAttr

private java.lang.String mAttr
Attribute name


mElt

private java.lang.String mElt
Element name

Constructor Detail

XMLEmptyAttributeException

public XMLEmptyAttributeException(java.lang.String attr,
                                  java.lang.String elt)
Constructor.

Parameters:
attr - Attribute name.
elt - Local element name.
Method Detail

getElement

public java.lang.String getElement()
Gets the element name

Returns:
name

getAttribute

public java.lang.String getAttribute()
Gets the attribute name

Returns:
name