IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1

com.ibm.websphere.objectgrid
ConnectException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.websphere.objectgrid.ObjectGridException
                    |
                    +--com.ibm.websphere.objectgrid.ConnectException


Unable to connect to server

Field Summary
public  intBAD_CONFIGURATION
          
public  intUNKNOWN
          
public  intFAILED_SECURITY
          
public  intCONNECTION_REFUSED
          
public  intSERVER_DEFINITION_NOT_FOUND
           This is thrown, where the definition of cluster cannot be accessed.

Constructor Summary
ConnectException()
           Constructs a new ConnectException with null as its detail message.
ConnectException(java.lang.String)
           Constructs a new ConnectException with the specified detail message. The.
ConnectException(java.lang.String, int)
           Constructs a new ConnectException with the specified detail message. The.
ConnectException(java.lang.Throwable)
           Constructs a new LockException with a specified cause..
ConnectException(java.lang.String, java.lang.Throwable)
           Constructs a new ConnectException with the specified detail message and cause.
ConnectException(java.lang.String, java.lang.Throwable, int)
           Constructs a new ConnectException with the specified detail message and cause.


Method Summary
public  intgetFailureCode()
          

Inherited Methods

Methods inherited from com.ibm.websphere.objectgrid.ObjectGridException
getCause, initCause, printStackTrace, printStackTrace, printStackTrace
Methods inherited from java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace, toString
Methods inherited from java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

BAD_CONFIGURATION

public 
  static BAD_CONFIGURATION

UNKNOWN

public 
  static UNKNOWN

FAILED_SECURITY

public 
  static FAILED_SECURITY

CONNECTION_REFUSED

public 
  static CONNECTION_REFUSED

SERVER_DEFINITION_NOT_FOUND

public 
  static SERVER_DEFINITION_NOT_FOUND
This is thrown, where the definition of cluster cannot be accessed.

Constructor Detail

ConnectException

public ConnectException( )
Constructs a new ConnectException with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to java.lang.Throwable#initCause.


ConnectException

public ConnectException( String message)
Constructs a new ConnectException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to java.lang.Throwable#initCause.
Parameters:
message - the detail message. The detail message is saved for later retrieval by the #getMessage()method.


ConnectException

public ConnectException( String message,int failureCode)
Constructs a new ConnectException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to java.lang.Throwable#initCause.
Parameters:
message - the detail message. The detail message is saved for later retrieval by the #getMessage()method.


ConnectException

public ConnectException( Throwable cause)
Constructs a new LockException with a specified cause. The cause and a detail message of (cause==null ? null : cause.toString()) is used (which typically contains the class and detail message of cause). This constructor is useful for LockExceptions that are little more than wrappers for other throwables.
Parameters:
cause - is the exception that caused this exception to be thrown, which is saved for later retrieval by the #getCause() method. A null value is permitted and indicates that the cause is nonexistent or is unknown.


ConnectException

public ConnectException( String message,Throwable cause)
Constructs a new ConnectException with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this ConnectException detail message.

Parameters:
message - the detail message (which is saved for later retrieval by the #getMessage()method).
cause - the cause (which is saved for later retrieval by the #getCause()method). (Anull value is permitted, and indicates that the cause is nonexistent or unknown.)


ConnectException

public ConnectException( String message,Throwable cause,int failureCode)
Constructs a new ConnectException with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this ConnectException detail message.

Parameters:
message - the detail message (which is saved for later retrieval by the #getMessage()method).
cause - the cause (which is saved for later retrieval by the #getCause()method). (Anull value is permitted, and indicates that the cause is nonexistent or unknown.)
failureCode - int value


Method Detail

getFailureCode

public int getFailureCode()


IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1