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

com.na.ErrorMsg Maven / Gradle / Ivy

Go to download

Common artifacts, mostly DTOs shared between jira plug-in and the REST service.

The newest version!
/**
 * 
 */
package com.na;


/**
 * Error messages that are designed to be returned to the REST client in the
 * case of error.
 * 
 * @author marian
 * 
 */
public interface ErrorMsg {
	
	/** Prefix for database errors */
	public static final String DATABASE_ERROR = "Unable to save data - ";
	
	/** Prefix for update drive mappings */
	public static final String UPDATE_MAPPING_ERROR = "Unable to update the destination issue - ";
	
	/** Dead lock in depends on and blocked relations. */
	public static final String DEAD_LOCK = "The dependencies of the issue lead to a dead lock through following issues %s.";
	
	/** Missing bug. */
	public static final String MISSING_BUG = "There is a reference to missing bug: %s.";
	/** Missing user. */
	public static final String MISSING_USER = "Unable to find user: %s.";
	/** Too many components. */
	public static final String TOO_MANY_COMPONENTS = "Bug in Bugzilla can have at most 1 component assigned.";
	
	/** Component not found. */
	public static final String COMPONENT_NOT_FOUND = "Component \"%s\" was not found in project \"%s\".";
	
	/** Keyword not found. */
	public static final String KEYWORD_NOT_FOUND = "Keyword \"%s\" was not found.";

	/** Multiple versions selected. */
	public static final String MULTIPLE_VERSIONS = "More then one version are selected, i.e.: %s.";
	
	/** Invalid parameter of {@link ValueBasedConverter}. */
	public static final String BAD_VALUE_BASED_CONVERTER_PARAM = "Unable to parse the conveerter parameter %s.";
	
	/** Bad date format. */
	public static final String BAD_DATA_FORMAT = "Wrong date format of parameter, get '%s' whereas expected format is '%s'";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy