jeops.compiler
Class JeopsException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--jeops.compiler.JeopsException
- public class JeopsException
- extends java.lang.Exception
An exception thrown by JEOPS.
- Version:
- 0.01 09.03.2000
- Author:
- Carlos Figueira Filho (csff@di.ufpe.br)
- See Also:
- Serialized Form
Constructor Summary |
JeopsException(int line,
int column)
Constructs a JeopsException with no detail message. |
JeopsException(java.lang.String s,
int line,
int column)
Constructs a JeopsException with the specified detail message. |
Method Summary |
int |
getColumn()
Returns the column number in the rule file where there is the
problem that caused this exception. |
int |
getLine()
Returns the line number in the rule file where there is the
problem that caused this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
JeopsException
public JeopsException(int line,
int column)
- Constructs a JeopsException with no detail message.
- Parameters:
line
- the line of the problem.column
- the column of the problem.
JeopsException
public JeopsException(java.lang.String s,
int line,
int column)
- Constructs a JeopsException with the specified detail message.
- Parameters:
s
- the detail message.line
- the line of the problem.column
- the column of the problem.
getLine
public int getLine()
- Returns the line number in the rule file where there is the
problem that caused this exception.
- Returns:
- the line number in the rule file where there is the
problem that caused this exception.
getColumn
public int getColumn()
- Returns the column number in the rule file where there is the
problem that caused this exception.
- Returns:
- the column number in the rule file where there is the
problem that caused this exception.