|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.batik.dom.svg.LiveAttributeException
public class LiveAttributeException
Thrown when a live attribute cannot parse an attribute's value.
Field Summary | |
---|---|
protected String |
attributeName
The attribute name. |
protected short |
code
The reason for the exception. |
protected 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 String |
value
The malformed attribute value. |
Constructor Summary | |
---|---|
LiveAttributeException(Element e,
String an,
short code,
String val)
Constructs a new LiveAttributeException with the specified
parameters. |
Method Summary | |
---|---|
String |
getAttributeName()
Returns the attribute name. |
short |
getCode()
Returns the error code. |
Element |
getElement()
Returns the element on which the error occurred. |
String |
getValue()
Returns the problematic attribute value. |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short ERR_ATTRIBUTE_MISSING
public static final short ERR_ATTRIBUTE_MALFORMED
public static final short ERR_ATTRIBUTE_NEGATIVE
protected Element e
protected String attributeName
protected short code
protected String value
Constructor Detail |
---|
public LiveAttributeException(Element e, String an, short code, String val)
LiveAttributeException
with the specified
parameters.
e
- the element on which the error occuredan
- the attribute namecode
- the error codeval
- the malformed attribute valueMethod Detail |
---|
public Element getElement()
public String getAttributeName()
public short getCode()
public String getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |