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

org.hisrc.jsonix.configuration.MissingMappinWithNameException Maven / Gradle / Ivy

There is a newer version: 2.3.9
Show newest version
package org.hisrc.jsonix.configuration;

import java.text.MessageFormat;

import org.apache.commons.lang3.Validate;

public class MissingMappinWithNameException extends ConfigurationException {

	private static final long serialVersionUID = 2854565270126284458L;
	private final String mappingName;

	public MissingMappinWithNameException(String mappingId) {
		super(MessageFormat.format(
				"Could not find the referenced mapping with name [{0}].",
				Validate.notNull(mappingId)));
		this.mappingName = mappingId;
	}

	public String getMappingName() {
		return mappingName;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy