|
||||||||||
| 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 String |
code
The error code. |
protected TimedElement |
e
The timed element on which the error occurred. |
protected String |
message
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 | |
|---|---|
String |
getCode()
Returns the error code. |
TimedElement |
getElement()
Returns the timed element that caused this animation exception. |
String |
getMessage()
Returns the error message according to the error code and parameters. |
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 String code
protected Object[] params
protected String message
| Constructor Detail |
|---|
public AnimationException(TimedElement e,
String code,
Object[] params)
e - the animation element on which the error occurredcode - the error codeparams - the parameters to use for the error message| Method Detail |
|---|
public TimedElement getElement()
public String getCode()
public Object[] getParams()
public String getMessage()
getMessage in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||