com.github.jscancella.exceptions.PayloadOxumDoesNotExistException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bagging Show documentation
Show all versions of bagging Show documentation
This is a software library intended to support the creation, manipulation, and validation of "bags" from the bagit specification. It currently supports version 0.93 through 1.0.
package com.github.jscancella.exceptions;
import com.github.jscancella.domain.Bag;
/**
* The {@link Bag} object should contain the Payload-Oxum metatdata key value pair,
* this class represents the error when trying to calculate the payload-oxum and it doesn't exist on the bag object.
*/
public class PayloadOxumDoesNotExistException extends RuntimeException {
private static final long serialVersionUID = 1L;
/**
* The {@link Bag} object should contain the Payload-Oxum metatdata key value pair,
* this class represents the error when trying to calculate the payload-oxum and it doesn't exist on the bag object.
*
* @param message error message for the user
*/
public PayloadOxumDoesNotExistException(final String message){
super(message);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy