com.bea.wlrt.ede
Class StatementException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.bea.wlrt.ede.StatementException
- public class StatementException
- extends RuntimeException
Exception raised when attempting to add an invalid statement
- See Also:
- Serialized Form
Method Summary
|
int |
getColumnNumber()
Returns column number on which an error was detected. |
int |
getLineNumber()
Returns line number on which an error was detected. |
boolean |
hasLocation()
Indicates whether or not location information is available for this exception |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString |
StatementException
public StatementException(String msg)
StatementException
public StatementException(Exception e)
hasLocation
public boolean hasLocation()
- Indicates whether or not location information is available for this exception
- Returns:
- true if location information is available and false otherwise.
getLineNumber
public int getLineNumber()
- Returns line number on which an error was detected.
- Returns:
- line number location of error
getColumnNumber
public int getColumnNumber()
- Returns column number on which an error was detected.
- Returns:
- column number location of error