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

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

public static class Compiler.SemanticError
extends Compiler.Error

A single semantic 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.SemanticError(Integer line, String message, String[] detail)
          Create a semantic error.
Compiler.SemanticError(int line, String message, String[] detail)
          Create a semantic 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.SemanticError

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

Compiler.SemanticError

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