Enterprise Information Portal APIs

com.ibm.mm.beans
Class CMBChangePasswordFailedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.mm.beans.CMBException
                    |
                    +--com.ibm.mm.beans.CMBChangePasswordFailedException
All Implemented Interfaces:
java.io.Serializable

public class CMBChangePasswordFailedException
extends CMBException

This exception occurs when an attempt to change a password fails.

Since:
8.1
See Also:
Serialized Form

Field Summary
static int CMB_MANUAL_CHANGE_REQUIRED
           
static int CMB_USAGE_ERROR
           
 
Fields inherited from class com.ibm.mm.beans.CMBException
CMB_ERR_ATTR_ALREADY_EXIST, CMB_ERR_ATTR_INVALID_VALUE, CMB_ERR_ATTR_NOT_EXIST, CMB_ERR_CONNECT_FAILED, CMB_ERR_CONNECTION_NOT_SET, CMB_ERR_CURSOR_NOT_VALID, CMB_ERR_ENTITY_NOT_SET, CMB_ERR_ICM_DOC_ROUTING_EXCEPTION, CMB_ERR_IKF_SERVER_EXCEPTION, CMB_ERR_INVALID_METHOD, CMB_ERR_INVALID_QUERY, CMB_ERR_INVALID_VERSION, CMB_ERR_ITEM_NOT_EXIST, CMB_ERR_ITEM_NOT_RETRIEVED, CMB_ERR_ITEM_NOT_SET, CMB_ERR_RESULTS_INVALID, CMB_ERR_SEARCH_IN_PROGRESS, CMB_ERR_SERVER_EXCEPTION, CMB_ERR_TEMPLATE_NOT_EXIST, CMB_ERR_UNKNOWN, CMB_ERR_WF_SERVER_EXCEPTION
 
Constructor Summary
CMBChangePasswordFailedException(java.lang.String message, int exceptionID, java.lang.Object data)
          Constructs a CMBChangePasswordFailedException.
CMBChangePasswordFailedException(java.lang.String message, int exceptionID, java.lang.Object data, java.lang.Object data2)
          Constructs a CMBChangePasswordFailedException.
 
Method Summary
 java.lang.String getUserid()
          Gets the userid for which the change password operation failed
 java.lang.String name()
          Get Exception name
 
Methods inherited from class com.ibm.mm.beans.CMBException
getErrorData, getErrorExtraData, getErrorId, printStackTrace, printStackTrace, printStackTrace, setErrorData, setErrorExtraData, setErrorId
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CMB_USAGE_ERROR

public static final int CMB_USAGE_ERROR

CMB_MANUAL_CHANGE_REQUIRED

public static final int CMB_MANUAL_CHANGE_REQUIRED
Constructor Detail

CMBChangePasswordFailedException

public CMBChangePasswordFailedException(java.lang.String message,
                                        int exceptionID,
                                        java.lang.Object data)
Constructs a CMBChangePasswordFailedException.
Parameters:
message - error message
exceptionID - error id which is one of the following:
  • CMB_USAGE_ERROR - incorrect usage of the change password function.
  • CMB_MANUAL_CHANGE_REQUIRED - the user must change the password manually, because the password is both a system user ID and a CM user ID.
data - The original exception

CMBChangePasswordFailedException

public CMBChangePasswordFailedException(java.lang.String message,
                                        int exceptionID,
                                        java.lang.Object data,
                                        java.lang.Object data2)
Constructs a CMBChangePasswordFailedException.
Parameters:
message - error message
exceptionID - error id which is one of the following:
  • CMB_USAGE_ERROR - incorrect usage of the change password function.
  • CMB_MANUAL_CHANGE_REQUIRED - the user must change the password manually, because the password is both a system user ID and a CM user ID.
data - The original exception
data2 - userid for which change password failed
Method Detail

getUserid

public java.lang.String getUserid()
Gets the userid for which the change password operation failed
Returns:
userid.

name

public java.lang.String name()
Get Exception name
Overrides:
name in class CMBException
Returns:
Exception name

EIP JavaBeans

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.