Enterprise Information Portal APIs

com.ibm.mm.beans
Class CMBConnectFailedException

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

public class CMBConnectFailedException
extends CMBException

This exception occurs when an attempt to connect to a server fails.

Since:
6.1
See Also:
Serialized Form

Field Summary
static int CMB_CONNECT_INVALID_USERID_PASSWD
           
static int CMB_CONNECT_PASSWORD_EXPIRED
           
static int CMB_CONNECT_SERVER_UNAVAILABLE
           
 
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
CMBConnectFailedException(java.lang.String message, int exceptionID, java.lang.Object data)
          Constructs a CMBConnectFailedException.
CMBConnectFailedException(java.lang.String message, int exceptionID, java.lang.Object data, java.lang.Object data2)
          Constructs a CMBConnectFailedException.
 
Method Summary
 java.lang.String getServerName()
          Gets the server name.
 java.lang.String getUserid()
          Gets the userid that used to logon to the server
 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_CONNECT_INVALID_USERID_PASSWD

public static final int CMB_CONNECT_INVALID_USERID_PASSWD

CMB_CONNECT_SERVER_UNAVAILABLE

public static final int CMB_CONNECT_SERVER_UNAVAILABLE

CMB_CONNECT_PASSWORD_EXPIRED

public static final int CMB_CONNECT_PASSWORD_EXPIRED
Constructor Detail

CMBConnectFailedException

public CMBConnectFailedException(java.lang.String message,
                                 int exceptionID,
                                 java.lang.Object data)
Constructs a CMBConnectFailedException.
Parameters:
message - error message
exceptionID - error id which is one of the following:
  • CMB_CONNECT_INVALID_USERID_PASSWD
  • CMB_CONNECT_SERVER_UNAVAILABLE
  • CMB_CONNECT_PASSWORD_EXPIRED
data - name of the server

CMBConnectFailedException

public CMBConnectFailedException(java.lang.String message,
                                 int exceptionID,
                                 java.lang.Object data,
                                 java.lang.Object data2)
Constructs a CMBConnectFailedException.
Parameters:
message - error message
exceptionID - error id which is one of the following:
  • CMB_CONNECT_INVALID_USERID_PASSWD
  • CMB_CONNECT_SERVER_UNAVAILABLE
  • CMB_CONNECT_PASSWORD_EXPIRED
data - name of the server
data2 - userid that used in logon to the server
Method Detail

getServerName

public java.lang.String getServerName()
Gets the server name.
Returns:
name of the failed logon server.

getUserid

public java.lang.String getUserid()
Gets the userid that used to logon to the server
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.