All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lithium.ldn.starql.exceptions.QueryValidationException Maven / Gradle / Ivy

package com.lithium.ldn.starql.exceptions;

@SuppressWarnings("serial")
public class QueryValidationException extends Exception {

	private final String query;
	
	public QueryValidationException(String message, String query) {
		super(message + " Validation exception found: ");
		this.query = query;
	}
	
	public String getQuery() {
		return query;
	}
	
	protected static String quote(String text) {
		return "\"" + text + "\"";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy