|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--gov.llnl.babel.parsers.sidl.SIDLException
Exception SIDLException is the base class for both grammar
(e.g., parse) and symbol (e.g., analysis) exceptions. This base class
contains location and production information.
| Constructor Summary | |
SIDLException(int line,
int column,
int production)
Create a SIDLException located at the specified line and
column within the specified production. |
|
| Method Summary | |
int |
getColumnNumber()
Return the column number of the token that caused the exception. |
int |
getLineNumber()
Return the line number of the token that caused the exception. |
int |
getProductionNumber()
Return the production number of the token that caused the exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SIDLException(int line,
int column,
int production)
SIDLException located at the specified line and
column within the specified production.
| Method Detail |
public int getLineNumber()
public int getColumnNumber()
public int getProductionNumber()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||