|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sap.ip.me.api.services.MEException
com.sap.ip.me.api.user.LogonException
A LogonException will be thrown if logon fails, if a password change fails or if the creation of a new user fails.
Field Summary | |
static int |
EMPTY_LOCAL_PASSWORD
A message id. |
static int |
EMPTY_PASSWORD
A message id. |
static int |
EMPTY_SYNC_PASSWORD
A message id. |
static int |
EMPTY_USER_NAME
A message id. |
static int |
INVALID_LOCAL_PASSWORD_LENGTH
A message id. |
static int |
INVALID_LOGONNAME
Deprecated. Use EMPTY_USER_NAME instead of INVALID_LOGONNAME . |
static int |
INVALID_PASSWORD
Deprecated. Without Replacement. |
static int |
INVALID_USER_NAME
A message id. |
static int |
INVALID_USER_NAME_LENGTH
A message id. |
static int |
IO_EXCEPTION
A message id. |
static int |
LOCAL_PASSWORD_CONFIRMATION_DIFFERS
A message id. |
static int |
LOGON_FAILED
A message id. |
static int |
MALFORMED_URL
A message id. |
static int |
NEW_LOCAL_PASSWORD_CONFIRMATION_DIFFERS
A message id. |
static int |
RESERVED_USER_NAME
A message id. |
static int |
SAP_LOGON_TICKET_IS_MISSED
A message id. |
static int |
SERVER_LOGON_FAILURE
A message id. |
static int |
SERVER_NOT_REACHABLE
A message id. |
static int |
SSO_IO_EXCEPTION
A message id. |
static int |
SSO_LOGON_FAILURE
A message id. |
static int |
SSO_MALFORMED_URL
A message id. |
static int |
SSO_SERVER_NOT_REACHABLE
A message id. |
static int |
SSO_USER_UNKNOWN
A message id. |
static int |
UNKNOWNMESSAGE
A message id. |
static int |
USER_ALREADY_EXISTS
A message id. |
static int |
USER_CREATION_NOT_ALLOWED
A message id. |
static int |
USER_IS_LOCKED
A message id. |
static int |
USER_UNKNOWN
A message id. |
static int |
WRONG_PASSWORD
Deprecated. Use LOCAL_PASSWORD_CONFIRMATION_DIFFERS or
NEW_LOCAL_PASSWORD_CONFIRMATION_DIFFERS instead of
WRONG_PASSWORD . |
Constructor Summary | |
LogonException(int messageId)
Constructor. |
|
LogonException(int messageId,
java.lang.Object[] arguments)
Constructor. |
|
LogonException(int messageId,
java.lang.Object[] arguments,
java.lang.Throwable nestedException)
Constructor for the InstallationException. |
|
LogonException(java.lang.String message)
Constructor to provide non pre-defined exception messages. |
Method Summary | |
java.lang.String |
getLocalizedMessage()
Returns a localized detailed error message. |
java.lang.String |
getMessage()
Gets the message attribute of the InstallationException object |
int |
getMessageId()
Gets the messageId attribute of the LogonException object |
java.lang.Object[] |
getMessageParameters()
Gets the messageParameters attribute of the LogonException object |
Methods inherited from class com.sap.ip.me.api.services.MEException |
getNestedException, getReason, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UNKNOWNMESSAGE
public static final int INVALID_LOGONNAME
EMPTY_USER_NAME
instead of INVALID_LOGONNAME
.
null
or an empty string.
public static final int INVALID_PASSWORD
public static final int WRONG_PASSWORD
LOCAL_PASSWORD_CONFIRMATION_DIFFERS
or
NEW_LOCAL_PASSWORD_CONFIRMATION_DIFFERS
instead of
WRONG_PASSWORD
.
public static final int USER_UNKNOWN
public static final int USER_ALREADY_EXISTS
public static final int EMPTY_USER_NAME
null
or an empty string.
public static final int RESERVED_USER_NAME
public static final int INVALID_USER_NAME
public static final int EMPTY_LOCAL_PASSWORD
null
or an empty string.
public static final int INVALID_LOCAL_PASSWORD_LENGTH
public static final int LOGON_FAILED
public static final int LOCAL_PASSWORD_CONFIRMATION_DIFFERS
public static final int NEW_LOCAL_PASSWORD_CONFIRMATION_DIFFERS
public static final int USER_IS_LOCKED
public static final int SSO_LOGON_FAILURE
public static final int SSO_SERVER_NOT_REACHABLE
public static final int SSO_MALFORMED_URL
public static final int SSO_IO_EXCEPTION
public static final int USER_CREATION_NOT_ALLOWED
public static final int SSO_USER_UNKNOWN
public static final int INVALID_USER_NAME_LENGTH
public static final int EMPTY_SYNC_PASSWORD
null
or an
empty string.
public static final int SERVER_NOT_REACHABLE
public static final int MALFORMED_URL
public static final int IO_EXCEPTION
public static final int SERVER_LOGON_FAILURE
public static final int EMPTY_PASSWORD
null
or an empty string.
public static final int SAP_LOGON_TICKET_IS_MISSED
Constructor Detail |
public LogonException(int messageId)
messageId
- Message ID that determines the detailed error message.public LogonException(int messageId, java.lang.Object[] arguments)
messageId
- Message ID that determines the detailed error message.arguments
- Arguments that have to be used to create a detailed
error message (via java.text.MessageFormat
class.public LogonException(int messageId, java.lang.Object[] arguments, java.lang.Throwable nestedException)
nestedException
- A nested exception.public LogonException(java.lang.String message)
message
- Detailed error message of this exception.Method Detail |
public java.lang.String getMessage()
public java.lang.String getLocalizedMessage()
public int getMessageId()
public java.lang.Object[] getMessageParameters()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |