koala.dynamicjava.parser.wrapper
Class ParseError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by 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

Constructor Summary
ParseError(ParseException e, File f)
          Constructs a ParseError based on a ParseException.
ParseError(String s, SourceInfo si)
          Constructs an ExecutionError with the specified detail message.
ParseError(Throwable t, SourceInfo si)
           
 
Method Summary
 SourceInfo getSourceInfo()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

getSourceInfo

public SourceInfo getSourceInfo()
Specified by:
getSourceInfo in interface SourceInfo.Wrapper