com.borland.jbuilder.jot
Class JotParseException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.borland.jbuilder.jot.JotParseException
- All Implemented Interfaces:
- java.io.Serializable
- public class JotParseException
- extends java.lang.RuntimeException
JotParseExceptions are thrown whenever JOT encounters a syntax error in a
source file. Since JOT delays parsing until it is required, this exception
can be thrown during any method call to JOT.
- See Also:
- Serialized Form
Method Summary |
int |
getColumn()
Returns the column number of the syntax error. |
java.lang.String |
getFilename()
Returns the name of the file containing the syntax error. |
int |
getLine()
Returns the line number of the syntax error. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JotParseException
public JotParseException(java.lang.String msg)
JotParseException
public JotParseException(java.lang.String msg,
java.lang.String filename,
int line,
int column)
getFilename
public java.lang.String getFilename()
- Returns the name of the file containing the syntax error.
getLine
public int getLine()
- Returns the line number of the syntax error.
getColumn
public int getColumn()
- Returns the column number of the syntax error.