*General*

- WrongPasswordException: minor changes

git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@49637 ebf7c1c2-ba36-0410-9fe8-c592906822b4

Former-commit-id: d40bf6fbc56ad8958a5a9e35993b111ab2b35b5a
This commit is contained in:
psp 2024-08-22 10:46:58 +00:00
parent 95808566ca
commit b717a57c24

View File

@ -21,6 +21,7 @@ public class WrongPasswordException extends PluginException {
}
private Boolean clearExistingPassword = null;
private Boolean allowRetry = null;
public Boolean getClearExistingPassword() {
return clearExistingPassword;
@ -30,6 +31,19 @@ public class WrongPasswordException extends PluginException {
this.clearExistingPassword = clearExistingPassword;
}
/**
* Defines whether or not upper system is allowed to retry when this exception is thrown. </br>
* Typically if a plugin throws this exception and does not allow a retry this means that the plugin aleady asked the user multiple
* times for the password in-place.
*/
public Boolean getAllowRetry() {
return allowRetry;
}
public void setAllowRetry(Boolean allowRetry) {
this.allowRetry = allowRetry;
}
/**
* Throw this Exception whenever a previously entered download- or crawler password turned out to be wrong. </br>
* Examples: </br>