|
||||||||||
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.anim.AnimationException
public class AnimationException
An exception class for SMIL animation exceptions.
Field Summary | |
---|---|
protected java.lang.String |
code
The error code. |
protected TimedElement |
e
The timed element on which the error occurred. |
protected java.lang.String |
message
The message. |
protected java.lang.Object[] |
params
The parameters to use for the error message. |
Constructor Summary | |
---|---|
AnimationException(TimedElement e,
java.lang.String code,
java.lang.Object[] params)
Creates a new AnimationException. |
Method Summary | |
---|---|
java.lang.String |
getCode()
Returns the error code. |
TimedElement |
getElement()
Returns the timed element that caused this animation exception. |
java.lang.String |
getMessage()
Returns the error message according to the error code and parameters. |
java.lang.Object[] |
getParams()
Returns the error message parameters. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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 |
---|
protected TimedElement e
protected java.lang.String code
protected java.lang.Object[] params
protected java.lang.String message
Constructor Detail |
---|
public AnimationException(TimedElement e, java.lang.String code, java.lang.Object[] params)
e
- the animation element on which the error occurredcode
- the error codeparams
- the parameters to use for the error messageMethod Detail |
---|
public TimedElement getElement()
public java.lang.String getCode()
public java.lang.Object[] getParams()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |