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

com.mindoo.domino.jna.errors.IErrorTextProvider Maven / Gradle / Ivy

There is a newer version: 0.9.53
Show newest version
package com.mindoo.domino.jna.errors;

import java.util.Map;

/**
 * Interface to provide fallback error texts
 * 
 * @author Karsten Lehmann
 */
public interface IErrorTextProvider {

	/**
	 * Providers are sorted in ascending priority order in case
	 * this interface will ever be implemented by someone else.
	 * 
	 * @return priority
	 */
	public int getPriority();
	
	/**
	 * Implement this method and return the error texts hashed
	 * by status code. The result will be cached by the caller.
	 * 
	 * @return error texts
	 */
	public Map getErrorTexts();
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy