koala.dynamicjava.parser.wrapper
Class ParseError
java.lang.Object
java.lang.Throwable
java.lang.Error
koala.dynamicjava.parser.wrapper.ParseError
- All Implemented Interfaces:
- Serializable, SourceInfo.Wrapper
public class ParseError
- extends Error
- implements SourceInfo.Wrapper
This error is thrown when an unexpected error append while
parsing a statement
- Version:
- 1.0 - 1999/05/03
- Author:
- Stephane Hillion
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ParseError
public ParseError(String s,
SourceInfo si)
- Constructs an
ExecutionError with the specified
detail message.
- Parameters:
s - the detail message.
ParseError
public ParseError(ParseException e,
File f)
- Constructs a ParseError based on a ParseException.
- Parameters:
e - the ParseException.f - the source file, or null if it is unknown.
ParseError
public ParseError(Throwable t,
SourceInfo si)
getSourceInfo
public SourceInfo getSourceInfo()
- Specified by:
getSourceInfo in interface SourceInfo.Wrapper