public class PackageValidationException extends PackageException
When throwing a PackageValidationException, be sure the message includes enough specific information to let the end user diagnose the problem, i.e. what files appear to be missing from the manifest or package, or the details of a checksum error on a file.
| Constructor and Description |
|---|
PackageValidationException(Exception exception)
Create a new exception wrapping it around another exception.
|
PackageValidationException(String message)
Create a new exception with the given message.
|
PackageValidationException(String message,
Exception exception) |
log, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic PackageValidationException(String message)
message - - diagnostic message.public PackageValidationException(Exception exception)
exception - - exception specifying the cause of this failure.Copyright © 2017 DuraSpace. All rights reserved.