Class FetchFileNotAllowedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.github.jscancella.conformance.exceptions.FetchFileNotAllowedException
- All Implemented Interfaces:
Serializable
Class to represent when a fetch file is found in a bag but is not allowed according to the bagit profile
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFetchFileNotAllowedException
(String message, Path rootDir) Class to represent when a fetch file is found in a bag but is not allowed according to the bagit profile -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FetchFileNotAllowedException
Class to represent when a fetch file is found in a bag but is not allowed according to the bagit profile- Parameters:
message
- the message to give to the userrootDir
- the bag root directory
-