jltools.util
Class ErrorInfo
java.lang.Object
|
+--jltools.util.ErrorInfo
- public class ErrorInfo
- extends java.lang.Object
Information about an error message.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WARNING
public static final int WARNING
INTERNAL_ERROR
public static final int INTERNAL_ERROR
IO_ERROR
public static final int IO_ERROR
LEXICAL_ERROR
public static final int LEXICAL_ERROR
SYNTAX_ERROR
public static final int SYNTAX_ERROR
SEMANTIC_ERROR
public static final int SEMANTIC_ERROR
kind
protected int kind
message
protected java.lang.String message
position
protected Position position
ErrorInfo
public ErrorInfo(int kind,
java.lang.String message,
Position position)
getErrorKind
public int getErrorKind()
getMessage
public java.lang.String getMessage()
getPosition
public Position getPosition()
getErrorString
public java.lang.String getErrorString()
getErrorString
public static java.lang.String getErrorString(int kind)