Class ParseError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
math.parser.ParseError
- All Implemented Interfaces:
Serializable
Name: ParseError
Description: Thrown if the parser encountres an irrecoverable error.
Date: 08/dic/06 Time: 14:12:25
- Version:
- 1.0
- Author:
- Bertoli Marco
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParseError(String message) ParseError(String str, int position) Basic constructorParseError(String message, Throwable cause) ParseError(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionintGet position that generated error in input stringMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParseError
Basic constructor- Parameters:
str- Error descriptionposition- Position that generated error in input string
-
ParseError
-
ParseError
-
ParseError
-
-
Method Details
-
getPosition
public int getPosition()Get position that generated error in input string- Returns:
- position
-