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

com.searchunify.sdk.exceptions.SearchUnifyException Maven / Gradle / Ivy

Go to download

The SearchUnify SDK enables developers to easily work with the SearchUnify platform and build scalable solutions with search, analytics, crawlers and more.

The newest version!
/**
 * 
 */
package com.searchunify.sdk.exceptions;

/**
 * This class is @author ankur
 * This class is created at 22-Mar-2021
 */
public class SearchUnifyException extends RuntimeException {

	private static final long serialVersionUID = 1L;

	private int responseCode;

	/**
	 * @return
	 */
	public int getResponseCode() {
		return responseCode;
	}

	/**
	 * Parameters @param responseCode
	 */
	public void setResponseCode(final int responseCode) {
		this.responseCode = responseCode;
	}

	/**
	 * Parameters @param message
	 */
	public SearchUnifyException(final String message) {
		super(message);
	}

	/**
	 * Parameters @param message
	 * Parameters @param cause
	 */
	public SearchUnifyException(final String message, final Throwable cause) {
		super(message, cause);
	}

	/**
	 * Parameters @param message
	 * Parameters @param responseCode
	 */
	public SearchUnifyException(final String message, final int responseCode) {
		super(message);
		this.responseCode = responseCode;
	}

	/**
	 * Parameters @param message
	 * Parameters @param cause
	 * Parameters @param responseCode
	 */
	public SearchUnifyException(final String message, final Throwable cause, final int responseCode) {
		super(message, cause);
		this.responseCode = responseCode;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy