thrownewTAPException("The special value \""+VALUE_NONE+"\" can not be used inside a list! It MUST be used in replacement of a whole list to specify that no value is allowed.");
fail("This MUST have succeeded because the given list of geometries is correct (reduced to only NONE)! \nCaught exception: "+getPertinentMessage(e));
}
// "NONE" inside a geometry list:
try{
newDefaultServiceConnection(noneInsideGeomProp);
fail("This MUST have failed because the given geometry list contains at least 2 items, whose one is NONE!");
}catch(Exceptione){
assertEquals(e.getClass(),TAPException.class);
assertEquals(e.getMessage(),"The special value \""+VALUE_NONE+"\" can not be used inside a list! It MUST be used in replacement of a whole list to specify that no value is allowed.");
}
// Unknown geometrical function:
try{
newDefaultServiceConnection(unknownGeomProp);
fail("This MUST have failed because the given geometry list contains at least 1 unknown ADQL geometrical function!");