Package nl.knaw.dans.bagit.exceptions
package nl.knaw.dans.bagit.exceptions
-
ClassDescriptionClass to represent an error when the calculated checksum is different than the manifest specified checksum.Class to represent an error when a file is found in the payload directory but not in any manifest.Class to represent an error when a file is not in the payload directory but is listed in a manifest.Class to represent an error when a specific bag file does not conform to its bagit specfication formatClass to represent an error when the bag metadata file does not conform to the bagit spec, namely:
<KEY>:<VALUE>
orClass to represent an error when the calculated total bytes or number of files for the payload-oxum is different than the supplied values.Class to represent an error when the path in a manifest or fetch file has been crafted to point to a file or directory outside the bag.The bagit.txt file is a required file.The payload directory is a required file.A bagit bag needs at least one payload manifest.TheBag
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.If the version string in the bagit.txt file was not in the form <MAJOR>.<MINOR>When the bag uses an checksum algorithm that is not supported byMessageDigest
.Class to represent an generic exception that happened during verification.