★ wanayoo — archive 1999 http://sourceware.cygnus.com/kawa/api/gnu/text/SourceError.htmlNouvelle recherche | Portail wanayoo

gnu.text
Class SourceError

java.lang.Object
  |
  +--gnu.text.SourceError

public class SourceError
extends java.lang.Object

Represents an error message from processing a "source" file.


Field Summary
 int column
           
 java.lang.String filename
           
 int line
          The (1-origin) location of the error.
 java.lang.String message
           
 SourceError next
           
 char severity
          The seriousness of the error - one of 'w' (for warning), 'e' (for error), or 'f' (for fatal error).
 
Constructor Summary
SourceError(char severity, java.lang.String filename, int line, int column, java.lang.String message)
           
SourceError(LineBufferedReader port, char severity, java.lang.String message)
           
 
Method Summary
 void print(java.io.PrintWriter out)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

next

public SourceError next

severity

public char severity
The seriousness of the error - one of 'w' (for warning), 'e' (for error), or 'f' (for fatal error).

filename

public java.lang.String filename

line

public int line
The (1-origin) location of the error.

column

public int column

message

public java.lang.String message
Constructor Detail

SourceError

public SourceError(char severity,
                   java.lang.String filename,
                   int line,
                   int column,
                   java.lang.String message)

SourceError

public SourceError(LineBufferedReader port,
                   char severity,
                   java.lang.String message)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

print

public void print(java.io.PrintWriter out)