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

com.github.jscancella.exceptions.DataDirectoryMustBeEmptyException Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 5.2
Show newest version
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