package org.apache.tika.exception;

public class EncryptedDocumentException extends TikaException {
    public EncryptedDocumentException() {
        super("Unable to process: document is encrypted");
    }

    public EncryptedDocumentException(Throwable th) {
        super("Unable to process: document is encrypted", th);
    }

    public EncryptedDocumentException(String info) {
        super(info);
    }
    
    public EncryptedDocumentException(String info, Throwable th) {
        super(info, th);
    }
}

add EncryptedDocumentException for situation when extraction can be done due to unknown or wrong password