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

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

public abstract static class Compiler.Warning
extends Compiler.Error

A warning. Subclass this class to use it.

See Also:
Compiler.Errors, Serialized Form

Fields inherited from class uk.ac.man.cs.rainbow.Compiler.Error
detail, line, message
 
Constructor Summary
Compiler.Warning(Integer line, String message, String[] detail)
          Create a warning.
Compiler.Warning(int line, String message, String[] detail)
          Create a warning.
 
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.Warning

public Compiler.Warning(int line,
                        String message,
                        String[] detail)
Create a warning.

Compiler.Warning

public Compiler.Warning(Integer line,
                        String message,
                        String[] detail)
Create a warning. Extracts the Integer for you.