Gridarta Editor
net.sf.gridarta.model.anim.AnimationParseException Class Reference

This exception is thrown when parsing an animation definition file (. More...

+ Inheritance diagram for net.sf.gridarta.model.anim.AnimationParseException:
+ Collaboration diagram for net.sf.gridarta.model.anim.AnimationParseException:

Public Member Functions

 AnimationParseException (@NotNull final String expected, @NotNull final String actual, final int lineNumber)
 Create an AnimationParseException. More...
 
int getLineNumber ()
 Get the number of the erroneous line. More...
 

Private Attributes

final int lineNumber
 The line number that caused the error. More...
 

Static Private Attributes

static final long serialVersionUID = 1L
 The serial version UID. More...
 

Detailed Description

This exception is thrown when parsing an animation definition file (.

arch/animations

and

arch

) revealed that such a file contains an error. In future, it might as well be used if a user defines or changes an animation.

Author
Christian Hujer

Definition at line 31 of file AnimationParseException.java.

Constructor & Destructor Documentation

◆ AnimationParseException()

net.sf.gridarta.model.anim.AnimationParseException.AnimationParseException ( @NotNull final String  expected,
@NotNull final String  actual,
final int  lineNumber 
)

Create an AnimationParseException.

Parameters
expectedexpected parse element
actualactual parse element that gave the error
lineNumbernumber of erroneous line

Definition at line 50 of file AnimationParseException.java.

References net.sf.gridarta.model.anim.AnimationParseException.lineNumber.

Member Function Documentation

◆ getLineNumber()

Member Data Documentation

◆ lineNumber

final int net.sf.gridarta.model.anim.AnimationParseException.lineNumber
private

◆ serialVersionUID

final long net.sf.gridarta.model.anim.AnimationParseException.serialVersionUID = 1L
staticprivate

The serial version UID.

Definition at line 36 of file AnimationParseException.java.


The documentation for this class was generated from the following file: