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). |
|
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 |
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
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)
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
print
public void print(java.io.PrintWriter out)