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

it.amattioli.encapsulate.dates.DatesErrorMessages Maven / Gradle / Ivy

package it.amattioli.encapsulate.dates;

import it.amattioli.common.exceptions.MessageBundle;

public enum DatesErrorMessages {
	NULL_DURATION_BEGIN,
	NULL_DURATION_END,
	INVALID_MONTH,
	INVALID_DAY;
	
	private static MessageBundle messages = new MessageBundle("it/amattioli/encapsulate/dates/Messages");
	
	public String getMessage() {
		return messages.getErrorMessage(name());
	}
	
	public String getMessage(String... params) {
		return messages.getErrorMessage(name(), params);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy