Package net.sf.gridarta.model.anim
Class AnimationParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.sf.gridarta.model.anim.AnimationParseException
-
- All Implemented Interfaces:
java.io.Serializable
public class AnimationParseException extends java.lang.ExceptionThis exception is thrown when parsing an animation definition file (arch/animationsandarch/**.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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AnimationParseException(@NotNull java.lang.String expected, @NotNull java.lang.String actual, int lineNumber)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLineNumber()Returns the number of the erroneous line.
-
-
-
Constructor Detail
-
AnimationParseException
public AnimationParseException(@NotNull @NotNull java.lang.String expected, @NotNull @NotNull java.lang.String actual, int lineNumber)Creates a new instance.- Parameters:
expected- expected parse elementactual- actual parse element that gave the errorlineNumber- number of erroneous line
-
-