com.github.jscancella.exceptions.DataDirectoryMustBeEmptyException 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 must have a empty data directory,
* this class represents the error when the data directory contains multiple zero byte files OR any files that are bigger than zero bytes.
*/
public class DataDirectoryMustBeEmptyException extends Exception {
private static final long serialVersionUID = 1L;
/**
* The {@link Bag} object must have a empty data directory,
* this class represents the error when the data directory contains multiple zero byte files OR any files that are bigger than zero bytes.
*
* @param message error message for the user
*/
public DataDirectoryMustBeEmptyException(final String message){
super(message);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy