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

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

There is a newer version: 2.13
Show newest version
package com.lithium.ldn.starql.exceptions;

/**
 * @author David Esposito
 */
public class InvalidQueryException extends Exception {

	private static final long serialVersionUID = 1L;

	private final String query;
	private final String message;
	
	public InvalidQueryException(String message, String query) {
		super(message);
		this.query = query;
		this.message = super.getMessage() + " in: " + query;
	}
	
	public String getQuery() {
		return query;
	}
	
	@Override
	public String getMessage() {
		return message;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy