uk.ac.man.cs.rainbow
Class Compiler.ParseError

java.lang.Object
  |
  +--uk.ac.man.cs.rainbow.Compiler.Error
        |
        +--uk.ac.man.cs.rainbow.Compiler.ParseError
All Implemented Interfaces:
Serializable
Enclosing class:
Compiler

public static class Compiler.ParseError
extends Compiler.Error

A single parse error generated by a compiler.

See Also:
Compiler.Errors, Serialized Form

Fields inherited from class uk.ac.man.cs.rainbow.Compiler.Error
detail, line, message
 
Constructor Summary
Compiler.ParseError(Integer line, String message, String[] detail)
          Create a parse error.
Compiler.ParseError(int line, String message, String[] detail)
          Create a parse error.
 
Methods inherited from class uk.ac.man.cs.rainbow.Compiler.Error
toString, toTclString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Compiler.ParseError

public Compiler.ParseError(int line,
                           String message,
                           String[] detail)
Create a parse error.

Compiler.ParseError

public Compiler.ParseError(Integer line,
                           String message,
                           String[] detail)
Create a parse error. Extracts the Integer for you.