de.schlichtherle.truezip.key.KeyPromptingDisabledException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truezip-driver-zip Show documentation
Show all versions of truezip-driver-zip Show documentation
The file system driver family for ZIP and related archive file types.
Add the JAR artifact of this module to the run time class path to
make its file system drivers available for service location in the
client API modules.
/*
* Copyright (C) 2005-2013 Schlichtherle IT Services.
* All rights reserved. Use is subject to license terms.
*/
package de.schlichtherle.truezip.key;
import javax.annotation.CheckForNull;
import javax.annotation.concurrent.ThreadSafe;
/**
* Thrown to indicate that the retrieval of the key to open or create a
* protected resource has been disabled.
* This is normally caused by the client application, but will also happen
* if the JVM is running in headless mode.
*
* @author Christian Schlichtherle
*/
@ThreadSafe
public class KeyPromptingDisabledException extends CacheableUnknownKeyException {
private static final long serialVersionUID = 7656348649239172586L;
public KeyPromptingDisabledException() {
super("Key prompting has been disabled!");
}
public KeyPromptingDisabledException(@CheckForNull Throwable cause) {
super("Key prompting has been disabled!");
super.initCause(cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy