Package rasj

Class RasQueryExecutionFailedException

All Implemented Interfaces:
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:
  • Constructor Details

    • RasQueryExecutionFailedException

      public RasQueryExecutionFailedException(String string)
    • RasQueryExecutionFailedException

      public RasQueryExecutionFailedException(int errorNo, int lineNo, int colNo, 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 Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class 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 String getToken()
      returns the token that caused the error