thrownewResultParserException("Prolog query failed - received "+topnode.getClass().getSimpleName()+" in response to query: "+query.substring(0,400),null);
}else{
thrownewResultParserException("Prolog query failed - received "+topnode.getClass().getSimpleName()+" in response to query: "+query,null);