Package jmri.jmrit.logixng.util.parser
Class InvalidSyntaxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- jmri.JmriException
-
- jmri.jmrit.logixng.util.parser.ParserException
-
- jmri.jmrit.logixng.util.parser.InvalidSyntaxException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidSyntaxException extends ParserException
Invalid syntax.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidSyntaxException(java.lang.String msg)
Constructs an instance ofInvalidExpressionException
with the specified detail message.InvalidSyntaxException(java.lang.String msg, int position)
Constructs an instance ofInvalidExpressionException
with the specified detail message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPosition()
-
Methods inherited from class jmri.JmriException
getErrors, getLocalizedMessage, getMessage
-
-
-
-
Constructor Detail
-
InvalidSyntaxException
public InvalidSyntaxException(java.lang.String msg)
Constructs an instance ofInvalidExpressionException
with the specified detail message.- Parameters:
msg
- the detail message.
-
InvalidSyntaxException
public InvalidSyntaxException(java.lang.String msg, int position)
Constructs an instance ofInvalidExpressionException
with the specified detail message.- Parameters:
msg
- the detail message.position
- the position
-
-
Method Detail
-
getPosition
public int getPosition()
-
-