coins.backend
Class SyntaxErrorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycoins.PassException
              extended bycoins.backend.SyntaxErrorException
All Implemented Interfaces:
java.io.Serializable

public class SyntaxErrorException
extends PassException

A parse error in LIR.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
SyntaxErrorException(java.io.File pSourceFile, int pLineNumber, java.lang.String pMessage)
          Creates a parse error with a message, a source file name, and a line number.
SyntaxErrorException(java.io.File pSourceFile, java.lang.String pMessage)
          Creates a parse error with a message and a source file name.
SyntaxErrorException(java.lang.String pMessage)
          Creates a parse error with a message.
 
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

SyntaxErrorException

public SyntaxErrorException(java.io.File pSourceFile,
                            int pLineNumber,
                            java.lang.String pMessage)
Creates a parse error with a message, a source file name, and a line number.

Parameters:
pSourceFile - The source file which contains this syntax error.
pLineNumber - The line number in the source file which contains this syntax error.
pMessage - The error message describing this syntax error.

SyntaxErrorException

public SyntaxErrorException(java.io.File pSourceFile,
                            java.lang.String pMessage)
Creates a parse error with a message and a source file name. Use when a line number cannot be specified.

Parameters:
pSourceFile - The source file which contains this syntax error.
pMessage - The error message describing this syntax error.

SyntaxErrorException

public SyntaxErrorException(java.lang.String pMessage)
Creates a parse error with a message. Use when a source file cannot be specified.

Parameters:
pMessage - The error message describing this syntax error.