Package rasj
Class RasQueryExecutionFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.odmg.ODMGException
org.odmg.QueryException
org.odmg.QueryInvalidException
rasj.RasQueryExecutionFailedException
- All Implemented Interfaces:
Serializable
PURPOSE: This exception extends the ODMGQueryInvalidException by offering direct access to the RasDaMan error number and the line, column and token in the querystring that produced the error.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRasQueryExecutionFailedException(int errorNo, int lineNo, int colNo, String tok) Default Constructor setting the error specification -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RasQueryExecutionFailedException
-
RasQueryExecutionFailedException
Default Constructor setting the error specification- Parameters:
errorNo- official RasDaMan error numberlineNo- line in the query string that contained the errorcolNo- column in the query string that contains the errortok- token that caused the error
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
getLine
public int getLine()returns the line number of the error -
getColumn
public int getColumn()return the column number of the error -
getToken
returns the token that caused the error
-