Class NoSuchColumnException

All Implemented Interfaces:
Serializable

public class NoSuchColumnException
extends IllegalArgumentException
Exception thrown when a column is not found.
See Also:
Serialized Form
  • Constructor Details

    • NoSuchColumnException

      public NoSuchColumnException​(Collection<String> presentColumns, Collection<String> requestedColumns)
      Thrown when an operation can not find a required column.
      Parameters:
      presentColumns - the column names present in the table
      requestedColumns - the request column names that were not found
    • NoSuchColumnException

      public NoSuchColumnException​(Collection<String> presentColumns, String requestedColumn)
      Thrown when an operation can not find a required column.
      Parameters:
      presentColumns - the column names present in the table
      requestedColumn - the request column name that was not found