public class AnimationException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
AnimationException(TimedElement e,
String code,
Object[] params)
Creates a new AnimationException.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected TimedElement e
protected String code
protected Object[] params
protected String message
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 messagepublic TimedElement getElement()
public String getCode()
public Object[] getParams()
public String getMessage()
getMessage
in class Throwable
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.