logger.logDB(LogLevel.ERROR,this,"UPLOAD","Unexpected date format for the "+c+"-th column ("+val+")! A date formatted in ISO8601 was expected.",pe);
logger.logDB(LogLevel.ERROR,this,"UPLOAD","[l. "+nbRows+", c. "+c+"] Unexpected date format for the value: \""+val+"\"! A date formatted in ISO8601 was expected.",pe);
thrownewDBException("Unexpected date format for the "+c+"-th column ("+val+")! A date formatted in ISO8601 was expected.",pe);
thrownewDBException("[l. "+nbRows+", c. "+c+"] Unexpected date format for the value: \""+val+"\"! A date formatted in ISO8601 was expected.",pe);
logger.logDB(LogLevel.ERROR,this,"UPLOAD","[l. "+nbRows+", c. "+c+"] Incorrect STC-S syntax for the geometrical value \""+val+"\"! "+e.getMessage(),e);
thrownewDataReadException("[l. "+nbRows+", c. "+c+"] Incorrect STC-S syntax for the geometrical value \""+val+"\"! "+e.getMessage(),e);
}
// translate this STC region into the corresponding column value:
// translate this STC region into the corresponding column value:
try{
val=translator.translateGeometryToDB(region);
val=translator.translateGeometryToDB(region);
}catch(adql.parser.ParseExceptione){
}catch(adql.parser.ParseExceptione){
if(logger!=null)
if(logger!=null)
logger.logDB(LogLevel.ERROR,this,"UPLOAD","Incorrect STC-S syntax for the geometrical value \""+val+"\"!",e);
logger.logDB(LogLevel.ERROR,this,"UPLOAD","[l. "+nbRows+", c. "+c+"] Impossible to import the ADQL geometry \""+val+"\" into the database! "+e.getMessage(),e);
thrownewDataReadException("Incorrect STC-S syntax for the geometrical value \""+val+"\"!",e);
thrownewDataReadException("[l. "+nbRows+", c. "+c+"] Impossible to import the ADQL geometry \""+val+"\" into the database! "+e.getMessage(),e);
}
}
}
}
/* BOOLEAN CASE (more generally, type incompatibility) */
/* BOOLEAN CASE (more generally, type incompatibility) */