Class UnresolvedColumnException

All Implemented Interfaces:
Serializable

public class UnresolvedColumnException extends ParseException
This exception is thrown by DBChecker when a column does not exist or whose the table reference is ambiguous.
See Also:
  • Constructor Details

    • UnresolvedColumnException

      public UnresolvedColumnException(ADQLColumn c)

      UNKNOWN COLUMN

      Builds the exception with an ADQLColumn which does not exist.

      Parameters:
      c - The unresolved ADQLColumn.
    • UnresolvedColumnException

      public UnresolvedColumnException(ADQLColumn c, String col1, String col2)

      AMBIGUOUS COLUMN NAME

      Builds the exception with an ADQLColumn which does not have a table reference AND which may come from more than one table OR with an ADQLColumn which may reference more than one column in the table.

      Parameters:
      c - The ambiguous ADQLColumn.
      col1 - First possibility.
      col2 - A second possibility.
  • Method Details

    • initPosition

      protected final void initPosition(ADQLColumn c)
    • getColumnName

      public final String getColumnName()