SearchException.java
/*
* Copyright 2026 Global Crop Diversity Trust
* Licensed under the Apache License, Version 2.0
* See LICENSE file in project root folder or http://www.apache.org/licenses/LICENSE-2.0
*/
package org.gringlobal.custom.elasticsearch;
/**
* Elasticsearch related exceptions
*
* @author Maxym Borodenko
*/
public class SearchException extends Exception {
private static final long serialVersionUID = -2850332265924524060L;
/**
* Constructs a new ES exception with {@code null} as its detail message.
*/
public SearchException() {
super();
}
/**
* Constructs a new ES exception with the specified detail message.
*/
public SearchException(final String message) {
super(message);
}
/**
* Constructs a new ES exception with the specified detail message and cause.
*/
public SearchException(final String message, final Throwable e) {
super(message, e);
}
}