Class UnresolvedJoinException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UnresolvedJoinException​(java.lang.String message)
      Build a simple UnresolvedJoin.
      UnresolvedJoinException​(java.lang.String message, TextPosition errorPosition)
      Build an UnresolvedJoin and specify, in addition of the error message, the position of the column not resolved.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setPosition​(TextPosition pos)
      Set the position of the invalid JOIN.
      • Methods inherited from class java.lang.Throwable

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

      • UnresolvedJoinException

        public UnresolvedJoinException​(java.lang.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​(java.lang.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 Detail

      • 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