edu.vub.at.exceptions
Class XParseError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byedu.vub.at.exceptions.InterpreterException
              extended byedu.vub.at.exceptions.XParseError
All Implemented Interfaces:
java.io.Serializable

public final class XParseError
extends InterpreterException

XParseError is thrown when illegal input is parsed by the AmbientTalk parser.

Author:
tvc
See Also:
Serialized Form

Field Summary
private  int column_
           
private  java.io.InputStream erroneousCode_
           
private  java.lang.String fileName_
           
private  int line_
           
private static long serialVersionUID
           
 
Fields inherited from class edu.vub.at.exceptions.InterpreterException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
XParseError(java.io.InputStream erroneousCode, java.lang.String message, java.lang.String filename, int line, int column, java.lang.Throwable cause)
           
XParseError(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 int getColumn()
           
 java.io.InputStream getErroneousCode()
           
 java.lang.String getFileName()
           
 int getLine()
           
 java.lang.String getMessage()
           
 ATStripe getStripeType()
           
 
Methods inherited from class edu.vub.at.exceptions.InterpreterException
getAmbientTalkRepresentation, printAmbientTalkStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

erroneousCode_

private java.io.InputStream erroneousCode_

fileName_

private final java.lang.String fileName_

line_

private final int line_

column_

private final int column_
Constructor Detail

XParseError

public XParseError(java.lang.String message,
                   java.lang.Throwable cause)

XParseError

public XParseError(java.io.InputStream erroneousCode,
                   java.lang.String message,
                   java.lang.String filename,
                   int line,
                   int column,
                   java.lang.Throwable cause)
Method Detail

getColumn

public int getColumn()
Returns:
Returns the column.

getFileName

public java.lang.String getFileName()
Returns:
Returns the fileName.

getLine

public int getLine()
Returns:
Returns the line.

getErroneousCode

public java.io.InputStream getErroneousCode()
Returns:
Returns the erroneous code.

getMessage

public java.lang.String getMessage()

getStripeType

public ATStripe getStripeType()
Specified by:
getStripeType in class InterpreterException