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

org.hisrc.jsonix.configuration.MissingMappingWithIdException 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 MissingMappingWithIdException extends ConfigurationException {

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

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

	public String getMappingId() {
		return mappingId;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy