org.apache.batik.anim

Class AnimationException

public class AnimationException extends RuntimeException

An exception class for SMIL animation exceptions.
Field Summary
protected Stringcode
The error code.
protected TimedElemente
The timed element on which the error occurred.
protected Stringmessage
The message.
protected Object[]params
The parameters to use for the error message.
Constructor Summary
AnimationException(TimedElement e, String code, Object[] params)
Creates a new AnimationException.
Method Summary
StringgetCode()
Returns the error code.
TimedElementgetElement()
Returns the timed element that caused this animation exception.
StringgetMessage()
Returns the error message according to the error code and parameters.
Object[]getParams()
Returns the error message parameters.

Field Detail

code

protected String code
The error code.

e

protected TimedElement e
The timed element on which the error occurred.

message

protected String message
The message.

params

protected Object[] params
The parameters to use for the error message.

Constructor Detail

AnimationException

public AnimationException(TimedElement e, String code, Object[] params)
Creates a new AnimationException.

Parameters: e the animation element on which the error occurred code the error code params the parameters to use for the error message

Method Detail

getCode

public String getCode()
Returns the error code.

getElement

public TimedElement getElement()
Returns the timed element that caused this animation exception.

getMessage

public String getMessage()
Returns the error message according to the error code and parameters.

getParams

public Object[] getParams()
Returns the error message parameters.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.