code: protected void typeCheck(GeoPackageDataType expected, TColumn column) {
  
  		GeoPackageDataType actual = column.getDataType();
  		if (actual == null || !actual.equals(expected)) {
  			throw new GeoPackageException("Unexpected " + column.getName()
  					+ " column data type was found for table '" + tableName
  					+ "', expected: " + expected.name() + ", actual: "
  					+ (actual != null ? actual.name() : "null"));
  		}
  	}
docs: Check for the expected data type
  
  @param expected
  expected data type
  @param column
  user column