Package rasj

Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getColumn()
      return the column number of the error
      int getLine()
      returns the line number of the error
      java.lang.String getMessage()  
      java.lang.String getToken()
      returns the token that caused the error
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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

      • 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 number
        lineNo - line in the query string that contained the error
        colNo - column in the query string that contains the error
        tok - token that caused the error
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.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