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

gov.loc.repository.bagit.exceptions.conformance.MetatdataValueIsNotRepeatableException Maven / Gradle / Ivy

Go to download

The BAGIT LIBRARY is a software library intended to support the creation, manipulation, and validation of bags. Its current version is 0.97. It is version aware with the earliest supported version being 0.93.

The newest version!
package gov.loc.repository.bagit.exceptions.conformance;

import org.slf4j.helpers.MessageFormatter;

/**
 * Class to represent when a metadata's value is not to be repeated
 */
public class MetatdataValueIsNotRepeatableException extends Exception {
private static final long serialVersionUID = 1L;
  
  public MetatdataValueIsNotRepeatableException(final String message, final String metadataKey) {
    super(MessageFormatter.format(message, metadataKey).getMessage());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy