com.ibm.ecm.extension
Class PluginRepositoryLogonException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- com.ibm.ecm.extension.PluginRepositoryLogonException
All implemented interfaces:
java.io.Serializable
- public class PluginRepositoryLogonException
- extends java.lang.Exception
Since:
2.0.3
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
LOGON_FAILURE_BAD_USERID_OR_PASSWORD
Logon status indicating that the userid or password is not correct.
|
|
LOGON_FAILURE_NO_PERMISSIONS
Logon status indicating that the user does not have the permissions needed to use the server.
|
|
LOGON_FAILURE_PASSWORD_EXPIRED
Logon status indicating that the password has expired.
|
|
LOGON_FAILURE_SERVER
Logon status indicating that some unspecific server error has occurred.
|
|
LOGON_FAILURE_SERVER_UNAVAILABLE
Logon status indicating that the server is not available.
|
|
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 Summary
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.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getLogonFailure()
Returns the reason for the logon failure.
|
Methods inherited from class java.lang.Throwable |
---|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail
LOGON_FAILURE_SERVER
- public static final int LOGON_FAILURE_SERVER
Logon status indicating that some unspecific server error has occurred.
See Also:
LOGON_FAILURE_SERVER_UNAVAILABLE
- public static final int LOGON_FAILURE_SERVER_UNAVAILABLE
Logon status indicating that the server is not available.
See Also:
LOGON_FAILURE_BAD_USERID_OR_PASSWORD
- public static final int LOGON_FAILURE_BAD_USERID_OR_PASSWORD
Logon status indicating that the userid or password is not correct.
See Also:
LOGON_FAILURE_PASSWORD_EXPIRED
- public static final int LOGON_FAILURE_PASSWORD_EXPIRED
Logon status indicating that the password has expired.
See Also:
LOGON_FAILURE_USERID_LOCKED
- public static final 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.
See Also:
LOGON_FAILURE_NO_PERMISSIONS
- public static final int LOGON_FAILURE_NO_PERMISSIONS
Logon status indicating that the user does not have the permissions needed to use the server.
See Also:
Constructor Detail
PluginRepositoryLogonException
- public PluginRepositoryLogonException( int logonFailure)
Use this constructor for logon errors that can be described with the predefined LOGON_FAILURE codes.
Parameters:
logonFailure
- One of the LOGON_FAILURE codes defined in this class. PluginRepositoryLogonException
- public PluginRepositoryLogonException( java.lang.Throwable cause)
Use this constructor to throw logon errors for other reasons beyond those in the predefined LOGON_FAILURE codes.
(The logonFailure will be LOGON_FAILURE_SERVER in these cases.)
Parameters:
cause
- An exception with additional information about the original cause of the logon failure. Method Detail
getLogonFailure
- public int getLogonFailure()
Returns the reason for the logon failure.
Returns:
one of the LOGON_FAILURE codes as defined in this class.