to.etc.lexer
Class SourceErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by to.etc.lexer.SourceErrorException
All Implemented Interfaces:
java.io.Serializable

public class SourceErrorException
extends java.lang.Exception

Some kind of error found while parsing a source. Contains an error with associated source (file) location. Created on Sep 13, 2004

Author:
jal
See Also:
Serialized Form

Constructor Summary
SourceErrorException(SourceLocation sl, java.lang.String msg)
           
 
Method Summary
 SourceLocation getLocation()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceErrorException

public SourceErrorException(SourceLocation sl,
                            java.lang.String msg)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

getLocation

public SourceLocation getLocation()