Package org.apache.batik.dom.svg
Class LiveAttributeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.batik.dom.svg.LiveAttributeException
- All Implemented Interfaces:
Serializable
Thrown when a live attribute cannot parse an attribute's value.
- Version:
- $Id: LiveAttributeException.java 1733416 2016-03-03 07:07:13Z gadams $
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLiveAttributeException
(Element e, String an, short code, String val) Constructs a newLiveAttributeException
with the specified parameters. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ERR_ATTRIBUTE_MISSING
public static final short ERR_ATTRIBUTE_MISSING- See Also:
-
ERR_ATTRIBUTE_MALFORMED
public static final short ERR_ATTRIBUTE_MALFORMED- See Also:
-
ERR_ATTRIBUTE_NEGATIVE
public static final short ERR_ATTRIBUTE_NEGATIVE- See Also:
-
e
The element on which the error occured. -
attributeName
The attribute name. -
code
protected short codeThe reason for the exception. This must be one of the ERR_* constants defined in this class. -
value
The malformed attribute value.
-
-
Constructor Details
-
LiveAttributeException
Constructs a newLiveAttributeException
with the specified parameters.- Parameters:
e
- the element on which the error occuredan
- the attribute namecode
- the error codeval
- the malformed attribute value
-
-
Method Details
-
getElement
Returns the element on which the error occurred. -
getAttributeName
Returns the attribute name. -
getCode
public short getCode()Returns the error code. -
getValue
Returns the problematic attribute value.
-