Class UnresolvedIdentifiersException

All Implemented Interfaces:
Serializable, Iterable<ParseException>

public class UnresolvedIdentifiersException extends ParseException implements Iterable<ParseException>
This exception is thrown by DBChecker when several columns, tables, functions or even ADQL features do not exist. It lists several ParseException (either UnresolvedColumnException, UnresolvedTableException, UnresolvedFunctionException, UnresolvedJoinException or UnsupportedFeatureException).

Its message only tells the number of unresolved identifiers. If you want to have more details about the position and the exact message of each exception, you just have to iterate on this UnresolvedIdentifiersException (method iterator()).

See Also:
  • Field Details

    • itemNature

      protected final String itemNature
      Type of the unresolved/unsupported items listed in this exception.

      Examples:

      • unresolved identifier (default),
      • unsupported expression
      Since:
      2.0
    • exceptions

      protected ArrayList<ParseException> exceptions
      List of exceptions (one per unresolved identifier).
  • Constructor Details

    • UnresolvedIdentifiersException

      public UnresolvedIdentifiersException()
      Build an empty UnresolvedIdentifiersException (that's to say: there is no unresolved identifier).
    • UnresolvedIdentifiersException

      public UnresolvedIdentifiersException(String itemNature)
      Build an empty UnresolvedIdentifiersException (that's to say: there is no unresolved identifier).
      Parameters:
      itemNature - Type of the unresolved items listed in this exception. By default: unresolved identifier.
      Since:
      2.0
  • Method Details