public class LiveAttributeException
extends java.lang.RuntimeException
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
attributeName |
The attribute name.
|
protected short |
code |
The reason for the exception.
|
protected org.w3c.dom.Element |
e |
The element on which the error occured.
|
static short |
ERR_ATTRIBUTE_MALFORMED |
|
static short |
ERR_ATTRIBUTE_MISSING |
|
static short |
ERR_ATTRIBUTE_NEGATIVE |
|
protected java.lang.String |
value |
The malformed attribute value.
|
| Constructor | Description |
|---|---|
LiveAttributeException(org.w3c.dom.Element e,
java.lang.String an,
short code,
java.lang.String val) |
Constructs a new
LiveAttributeException with the specified
parameters. |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getAttributeName() |
Returns the attribute name.
|
short |
getCode() |
Returns the error code.
|
org.w3c.dom.Element |
getElement() |
Returns the element on which the error occurred.
|
java.lang.String |
getValue() |
Returns the problematic attribute value.
|
public static final short ERR_ATTRIBUTE_MISSING
public static final short ERR_ATTRIBUTE_MALFORMED
public static final short ERR_ATTRIBUTE_NEGATIVE
protected org.w3c.dom.Element e
protected java.lang.String attributeName
protected short code
protected java.lang.String value
public LiveAttributeException(org.w3c.dom.Element e,
java.lang.String an,
short code,
java.lang.String val)
LiveAttributeException with the specified
parameters.e - the element on which the error occuredan - the attribute namecode - the error codeval - the malformed attribute valuepublic org.w3c.dom.Element getElement()
public java.lang.String getAttributeName()
public short getCode()
public java.lang.String getValue()
Copyright ? 2018 Apache Software Foundation. All Rights Reserved.