connectionUtils/src/main/java/com/ge/research/semtk/sparqlX/VirtuosoSparqlEndpointInterface.java
@Override
	public boolean isExceptionRetryAble(Exception e) {
		
		// virtuoso-specific
		String msg = e.getMessage();
		
		// Virtuoso 40001 Error SR172: Transaction deadlocked
		// Retry and hope
		if ( Pattern.compile("Virtuoso 40001 Error SR172 ").matcher(msg).find()) {
			return true;
		}
		
		// Generally Virtuoso errors are SPARQL problems
		// No use retrying
		else if ( Pattern.compile("Virtuoso [0-9]+ Error ").matcher(msg).find()) {
			return false;
		}
		
		else {
			// didn't recognize anything.  Defer to superclass.
			return super.isExceptionRetryAble(e);
		}
	}
/**
	 * Should system perform the default retry when it receives this exception from the triplestore
	 * @param e
	 * @return
	 */
Should system perform the default retry when it receives this exception from the triplestore
@param e
@return
Should system perform the default retry when it receives this exception from the triplestore @param e @return
@Override
	public boolean isExceptionRetryAble(Exception e) {
		String msg = e.getMessage();
		if ( Pattern.compile("Virtuoso 40001 Error SR172 ").matcher(msg).find()) {
			return true;
		}
		else if ( Pattern.compile("Virtuoso [0-9]+ Error ").matcher(msg).find()) {
			return false;
		}
		else {
			return super.isExceptionRetryAble(e);
		}
	}
@ Override public boolean isExceptionRetryAble ( Exception e ) { String msg = e . getMessage ( ) ; if ( Pattern . compile ( "Virtuoso 40001 Error SR172 " ) . matcher ( msg ) . find ( ) ) { return true ; } else if ( Pattern . compile ( "Virtuoso [0-9]+ Error " ) . matcher ( msg ) . find ( ) ) { return false ; } else { return super . isExceptionRetryAble ( e ) ; } }
Should system perform the default retry when it receives this exception from the triplestore
 @param e
 @return
Should system perform the default retry when it receives this exception from the triplestore @param e @return
// virtuoso-specific // Virtuoso 40001 Error SR172: Transaction deadlocked // Retry and hope // Generally Virtuoso errors are SPARQL problems // No use retrying // didn't recognize anything.  Defer to superclass.