@@ -1350,7 +1350,7 @@ public class DBChecker implements QueryChecker {
}catch(Exceptionex){
// IF NO INSTANCE CAN BE CREATED...
// ...keep the error for further report:
errors.addException(newUnresolvedFunction("Impossible to represent the function \""+((DefaultUDF)objToReplace).getName()+"\": the following error occured while creating this representation: \""+((exinstanceofInvocationTargetException)?"["+ex.getCause().getClass().getSimpleName()+"] "+ex.getCause().getMessage():ex.getMessage())+"\"",(DefaultUDF)objToReplace));
errors.addException(newUnresolvedFunctionException("Impossible to represent the function \""+((DefaultUDF)objToReplace).getName()+"\": the following error occured while creating this representation: \""+((exinstanceofInvocationTargetException)?"["+ex.getCause().getClass().getSimpleName()+"] "+ex.getCause().getMessage():ex.getMessage())+"\"",(DefaultUDF)objToReplace));
thrownewUnresolvedJoin("JOIN impossible: incompatible column types when trying to join the columns "+leftCol.getADQLName()+" ("+leftCol.getDatatype()+") and "+rightCol.getADQLName()+" ("+rightCol.getDatatype()+")!");
thrownewUnresolvedJoinException("JOIN impossible: incompatible column types when trying to join the columns "+leftCol.getADQLName()+" ("+leftCol.getDatatype()+") and "+rightCol.getADQLName()+" ("+rightCol.getDatatype()+")!");
super("Unresolved function: \""+fct.toADQL()+"\"! No UDF has been defined or found with the signature: "+getFctSignature(fct)+".");// TODO Add the position of the function in the ADQL query!
functionInError=fct;
}
@@ -63,7 +63,7 @@ public class UnresolvedFunction extends ParseException {