public class PluginRepositoryLogonException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
static int |
LOGON_FAILURE_BAD_USERID_OR_PASSWORD
Logon status indicating that the userid or password is not correct.
|
static int |
LOGON_FAILURE_NO_PERMISSIONS
Logon status indicating that the user does not have the permissions needed to use the server.
|
static int |
LOGON_FAILURE_PASSWORD_EXPIRED
Logon status indicating that the password has expired.
|
static int |
LOGON_FAILURE_SERVER
Logon status indicating that some unspecific server error has occurred.
|
static int |
LOGON_FAILURE_SERVER_UNAVAILABLE
Logon status indicating that the server is not available.
|
static int |
LOGON_FAILURE_USERID_LOCKED
Logon status indicating that the userid is locked and requires an administrative action (outside of the
repository logon to unlock before it can be used.
|
| Constructor and Description |
|---|
PluginRepositoryLogonException(int logonFailure)
Use this constructor for logon errors that can be described with the predefined LOGON_FAILURE codes.
|
PluginRepositoryLogonException(java.lang.Throwable cause)
Use this constructor to throw logon errors for other reasons beyond those in the predefined LOGON_FAILURE codes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLogonFailure()
Returns the reason for the logon failure.
|
public static final int LOGON_FAILURE_SERVER
public static final int LOGON_FAILURE_SERVER_UNAVAILABLE
public static final int LOGON_FAILURE_BAD_USERID_OR_PASSWORD
public static final int LOGON_FAILURE_PASSWORD_EXPIRED
public static final int LOGON_FAILURE_USERID_LOCKED
public static final int LOGON_FAILURE_NO_PERMISSIONS
public PluginRepositoryLogonException(int logonFailure)
logonFailure - One of the LOGON_FAILURE codes defined in this class.public PluginRepositoryLogonException(java.lang.Throwable cause)
cause - An exception with additional information about the original cause of the logon failure.