public class AnimationParseException
extends java.lang.Exception
arch/animations
and arch/**.anim
) revealed that such a file contains
an error. In future, it might as well be used if a user defines or changes an
animation.Constructor and Description |
---|
AnimationParseException(@NotNull java.lang.String expected,
@NotNull java.lang.String actual,
int lineNumber)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getLineNumber()
Returns the number of the erroneous line.
|
public AnimationParseException(@NotNull @NotNull java.lang.String expected, @NotNull @NotNull java.lang.String actual, int lineNumber)
expected
- expected parse elementactual
- actual parse element that gave the errorlineNumber
- number of erroneous line