Package org.apache.batik.anim
Class AnimationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.batik.anim.AnimationException
- All Implemented Interfaces:
Serializable
An exception class for SMIL animation exceptions.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAnimationException
(TimedElement e, String code, Object[] params) Creates a new AnimationException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
e
The timed element on which the error occurred. -
code
The error code. -
params
The parameters to use for the error message. -
message
The message.
-
-
Constructor Details
-
AnimationException
Creates a new AnimationException.- Parameters:
e
- the animation element on which the error occurredcode
- the error codeparams
- the parameters to use for the error message
-
-
Method Details
-
getElement
Returns the timed element that caused this animation exception. -
getCode
Returns the error code. -
getParams
Returns the error message parameters. -
getMessage
Returns the error message according to the error code and parameters.- Overrides:
getMessage
in classThrowable
-