Class NoSuchColumnException

All Implemented Interfaces:
Serializable

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

  • Constructor Details

    • NoSuchColumnException

      public NoSuchColumnException(String message)
      Thrown when an operation can not find a required column(s).

      Callers may prefer to use throwIf(Set, Collection, String, Type...) when applicable.

      Parameters:
      message - the message
    • NoSuchColumnException

      public NoSuchColumnException(Collection<String> presentColumns, Collection<String> missingColumns)
      Thrown when an operation can not find a required column(s).

      Callers may prefer to use throwIf(Set, Collection) when applicable.

      Parameters:
      presentColumns - the column names present in the table
      missingColumns - the request column names that were not found
    • NoSuchColumnException

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