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:
java.io.Serializable
public class RasQueryExecutionFailedException extends QueryInvalidException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RasQueryExecutionFailedException(int errorNo, int lineNo, int colNo, java.lang.String tok)Default Constructor setting the error specificationRasQueryExecutionFailedException(java.lang.String string)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumn()return the column number of the errorintgetLine()returns the line number of the errorjava.lang.StringgetMessage()java.lang.StringgetToken()returns the token that caused the error
-
-
-
Constructor Detail
-
RasQueryExecutionFailedException
public RasQueryExecutionFailedException(java.lang.String string)
-
RasQueryExecutionFailedException
public RasQueryExecutionFailedException(int errorNo, int lineNo, int colNo, java.lang.String tok)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 Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessagein classjava.lang.Throwable
-
getLine
public int getLine()
returns the line number of the error
-
getColumn
public int getColumn()
return the column number of the error
-
getToken
public java.lang.String getToken()
returns the token that caused the error
-
-