Uses of Package
nl.knaw.dans.bagit.exceptions
Package
Description
-
ClassDescriptionClass 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 path in a manifest or fetch file has been crafted to point to a file or directory outside the bag.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
. -
ClassDescriptionClass to represent an error when a specific bag file does not conform to its bagit specfication format
-
-
ClassDescriptionClass 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 path in a manifest or fetch file has been crafted to point to a file or directory outside the bag.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
. -
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 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.When the bag uses an checksum algorithm that is not supported by
MessageDigest
.Class to represent an generic exception that happened during verification.