com.sap.ip.me.api.sync
Class SyncPasswordException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sap.ip.me.api.services.MEException
              extended bycom.sap.ip.me.api.sync.SyncPasswordException
All Implemented Interfaces:
java.io.Serializable

public class SyncPasswordException
extends MEException

A SyncPasswordException will be thrown if problems encounter with the handling of the synchronization password.

Author:
SAP
See Also:
Serialized Form

Field Summary
static int EMPTY_SYNC_PASSWORD
          A message id.
static int ILLEGAL_STATE
          A message id.
static int INVALID_SYNC_PASSWORD_LENGTH
          A message id.
static int UNKNOWNMESSAGE
          A message id.
static int USER_UNKNOWN
          A message id.
 
Constructor Summary
SyncPasswordException(int reason, java.lang.Object[] params, java.lang.Throwable nestedException)
          Constructor.
 
Method Summary
 java.lang.String getMessage()
          Gets the exception message.
 int getMessageId()
          Gets the message ID of the exception.
 java.lang.Object[] getMessageParameters()
          Gets the message parameters of the exception.
 
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, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWNMESSAGE

public static final int UNKNOWNMESSAGE
A message id. The message is no standard message.

See Also:
Constant Field Values

USER_UNKNOWN

public static final int USER_UNKNOWN
A message id. The user is not known.

See Also:
Constant Field Values

EMPTY_SYNC_PASSWORD

public static final int EMPTY_SYNC_PASSWORD
A message id. Synchronization password must not be null or an empty string.

See Also:
Constant Field Values

ILLEGAL_STATE

public static final int ILLEGAL_STATE
A message id. Illegal state to set a sync password.

See Also:
Constant Field Values

INVALID_SYNC_PASSWORD_LENGTH

public static final int INVALID_SYNC_PASSWORD_LENGTH
A message id. Synchronization password has invalid length.

See Also:
Constant Field Values
Constructor Detail

SyncPasswordException

public SyncPasswordException(int reason,
                             java.lang.Object[] params,
                             java.lang.Throwable nestedException)
Constructor.

Parameters:
reason - The reason for this exception. See java.text.MessageFormat .
params - Parameters of the exception message. See java.text.MessageFormat .
nestedException - A nested exception.
Method Detail

getMessage

public java.lang.String getMessage()
Gets the exception message.

Returns:
The message string.

getMessageId

public int getMessageId()
Gets the message ID of the exception.

Returns:
The message ID value.

getMessageParameters

public java.lang.Object[] getMessageParameters()
Gets the message parameters of the exception.

Returns:
The message parameter values.


Copyright © 2005 SAP AG. All Rights Reserved.