com.starbase.starteam
Class MPXException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.starbase.starteam.MPXException
All Implemented Interfaces:
java.io.Serializable

public class MPXException
extends java.lang.Exception

An MPX-related exception.

See Also:
Serialized Form

Field Summary
static int E_CONNECT
          A problem was encountered connecting to the MPX Message Broker.
static int E_MESSAGETHREAD
          The thread that processes MPX Messages is no longer running.
static int E_MPX_BASE
          Error numbers greater than or equal to E_MPX_BASE come from the MPX Message Broker.
static int E_MULTICAST_NOT_SUPPORTED
          MPX Multicast is not supported in this release of the SDK.
static int E_NO_DEFAULT_PROFILE
          There is no default client MPX profile defined on this server.
static int E_NO_SUCH_PROFILE
          There is no MPX profile named XXX on this server.
static int E_NORESPONSE
          The MPX Message Broker is not responding.
static int E_NOT_INSTALLED
          MPX is not installed on this server.
static int E_NOT_SUPPORTED
          The StarTeam SDK supports MPX on StarTeam Servers version 5.2 and later.
static int E_NOTCONNECTED
          The MPX Message Broker is not connected.
static int E_TRANSMITTER
          The MPX Event Transmitter is not responding.
static int E_UNEXPECTED
          An unexpected error internal error occurred.
 
Method Summary
 boolean equals(java.lang.Object source)
          returns true if this object instance is equal to the source
 int getErrorCode()
           
 java.lang.String getMessage()
           
 int hashCode()
          returns a unique hash for all instances of this type
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

E_NOT_INSTALLED

public static final int E_NOT_INSTALLED
MPX is not installed on this server.

See Also:
Constant Field Values

E_NO_DEFAULT_PROFILE

public static final int E_NO_DEFAULT_PROFILE
There is no default client MPX profile defined on this server.

See Also:
Constant Field Values

E_NO_SUCH_PROFILE

public static final int E_NO_SUCH_PROFILE
There is no MPX profile named XXX on this server.

See Also:
Constant Field Values

E_CONNECT

public static final int E_CONNECT
A problem was encountered connecting to the MPX Message Broker.

See Also:
Constant Field Values

E_NOTCONNECTED

public static final int E_NOTCONNECTED
The MPX Message Broker is not connected.

See Also:
Constant Field Values

E_NORESPONSE

public static final int E_NORESPONSE
The MPX Message Broker is not responding.

See Also:
Constant Field Values

E_MESSAGETHREAD

public static final int E_MESSAGETHREAD
The thread that processes MPX Messages is no longer running.

See Also:
Constant Field Values

E_TRANSMITTER

public static final int E_TRANSMITTER
The MPX Event Transmitter is not responding.

See Also:
Constant Field Values

E_UNEXPECTED

public static final int E_UNEXPECTED
An unexpected error internal error occurred.

See Also:
Constant Field Values

E_NOT_SUPPORTED

public static final int E_NOT_SUPPORTED
The StarTeam SDK supports MPX on StarTeam Servers version 5.2 and later.

See Also:
Constant Field Values

E_MULTICAST_NOT_SUPPORTED

public static final int E_MULTICAST_NOT_SUPPORTED
MPX Multicast is not supported in this release of the SDK.

See Also:
Constant Field Values

E_MPX_BASE

public static final int E_MPX_BASE
Error numbers greater than or equal to E_MPX_BASE come from the MPX Message Broker.

See Also:
MPXException.getErrorCode(), Constant Field Values
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable
Returns:
A descriptive error string.

getErrorCode

public int getErrorCode()
Returns:
An error number. Error numbers >= E_MPX_BASE come from the MPX Message Broker.

equals

public boolean equals(java.lang.Object source)
returns true if this object instance is equal to the source

Overrides:
equals in class java.lang.Object
Parameters:
source - Object the source to comapre with
Returns:
boolean true if this object is equal to the source

hashCode

public int hashCode()
returns a unique hash for all instances of this type

Overrides:
hashCode in class java.lang.Object
Returns:
int a unique hash for all instances of this type


StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.