Class UnresolvedJoinException

All Implemented Interfaces:
Serializable

public class UnresolvedJoinException extends ParseException
This exception is thrown when a table between 2 tables can not be resolved, and particularly because of the join condition (i.e. column names not found, ...).
Since:
1.2
Version:
1.4 (06/2015)
Author:
Grégory Mantelet (ARI)
See Also:
  • Constructor Details

    • UnresolvedJoinException

      public UnresolvedJoinException(String message)
      Build a simple UnresolvedJoin. It is generally used when a column can not be resolved (linked to one of the joined tables).
      Parameters:
      message - Message to display explaining why the join can't be resolved.
    • UnresolvedJoinException

      public UnresolvedJoinException(String message, TextPosition errorPosition)
      Build an UnresolvedJoin and specify, in addition of the error message, the position of the column not resolved.
      Parameters:
      message - Message to display explaining why the join can't be resolved.
      errorPosition - Position of the wrong part of the join.
  • Method Details

    • setPosition

      public void setPosition(TextPosition pos)
      Set the position of the invalid JOIN.
      Parameters:
      pos - Position of the concerned JOIN inside the ADQL query.
      Since:
      1.4