public class AnimationException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
AnimationException(TimedElement e,
java.lang.String code,
java.lang.Object[] params)
Creates a new AnimationException.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected TimedElement e
protected java.lang.String code
protected java.lang.Object[] params
protected java.lang.String message
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 messagepublic TimedElement getElement()
public java.lang.String getCode()
public java.lang.Object[] getParams()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
Copyright © 2022 Apache Software Foundation. All Rights Reserved.