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

com.github.jscancella.exceptions.InvalidBagitFileFormatException 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;

/**
 * Class to represent an error when a specific bag file does not conform to its bagit specfication format
 */
public class InvalidBagitFileFormatException extends RuntimeException {
  private static final long serialVersionUID = 1L;

  /**
   * Class to represent an error when a specific bag file does not conform to its bagit specfication format
   * 
   * @param message error message for the user
   */
  public InvalidBagitFileFormatException(final String message){
    super(message);
  }
  
  /**
   * Class to represent an error when a specific bag file does not conform to its bagit specfication format
   * 
   * @param message error message for the user
   * @param exception the exception that occurred
   */
  public InvalidBagitFileFormatException(final String message, final Exception exception){
    super(message, exception);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy