de.schlichtherle.truezip.key.KeyPromptingDisabledException Maven / Gradle / Ivy
/*
* Copyright (C) 2005-2015 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