com.starteam.exceptions
Class MPXException.ErrorCode

java.lang.Object
  extended by com.starteam.exceptions.MPXException.ErrorCode
Enclosing class:
MPXException

public static final class MPXException.ErrorCode
extends java.lang.Object

A Collection of MPX Error Codes


Field Summary
static MPXException.ErrorCode[] ALL
           
static MPXException.ErrorCode CANNOT_CONNECT
          A problem was encountered connecting to the MPX Message Broker.
static MPXException.ErrorCode FAILED
          An unknown exception has occurred.
static MPXException.ErrorCode MPX_BASE
          This error has been reported by the Message Broker.
static MPXException.ErrorCode MULTICAST_NOT_SUPPORTED
          MPX Multicast is not supported in this release of the SDK.
static MPXException.ErrorCode NO_DEFAULT_PROFILE
          There is no default client MPX profile defined on this server.
static MPXException.ErrorCode NO_MESSAGE_THREAD
          The thread that processes MPX Messages is no longer running.
static MPXException.ErrorCode NO_RESPONSE
          The MPX Message Broker is not responding.
static MPXException.ErrorCode NO_SUCH_PROFILE
          There is no MPX profile with the specified name on this server.
static MPXException.ErrorCode NO_TRANSMITTER
          The MPX Event Transmitter is not responding.
static MPXException.ErrorCode NOT_CONNECTED
          The MPX Message Broker is not connected.
static MPXException.ErrorCode NOT_INSTALLED
          MPX is not installed on this server.
static MPXException.ErrorCode NOT_SUPPORTED
          The StarTeam SDK supports MPX on StarTeam Servers version 5.2 and later.
static MPXException.ErrorCode UNEXPECTED
          An unexpected error internal error occurred.
 
Method Summary
 boolean equals(java.lang.Object o)
          compares two error codes for equality
static MPXException.ErrorCode fromID(int id)
          Gets the Status value corresponding to the given ID.
 int getID()
          the ID of an error
 int hashCode()
          a hash code for this error
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CANNOT_CONNECT

public static final MPXException.ErrorCode CANNOT_CONNECT
A problem was encountered connecting to the MPX Message Broker.


NO_MESSAGE_THREAD

public static final MPXException.ErrorCode NO_MESSAGE_THREAD
The thread that processes MPX Messages is no longer running.


MPX_BASE

public static final MPXException.ErrorCode MPX_BASE
This error has been reported by the Message Broker.


MULTICAST_NOT_SUPPORTED

public static final MPXException.ErrorCode MULTICAST_NOT_SUPPORTED
MPX Multicast is not supported in this release of the SDK.


NO_DEFAULT_PROFILE

public static final MPXException.ErrorCode NO_DEFAULT_PROFILE
There is no default client MPX profile defined on this server.


NO_SUCH_PROFILE

public static final MPXException.ErrorCode NO_SUCH_PROFILE
There is no MPX profile with the specified name on this server.


NO_RESPONSE

public static final MPXException.ErrorCode NO_RESPONSE
The MPX Message Broker is not responding.


NOT_INSTALLED

public static final MPXException.ErrorCode NOT_INSTALLED
MPX is not installed on this server.


NOT_SUPPORTED

public static final MPXException.ErrorCode NOT_SUPPORTED
The StarTeam SDK supports MPX on StarTeam Servers version 5.2 and later.


NOT_CONNECTED

public static final MPXException.ErrorCode NOT_CONNECTED
The MPX Message Broker is not connected.


NO_TRANSMITTER

public static final MPXException.ErrorCode NO_TRANSMITTER
The MPX Event Transmitter is not responding.


UNEXPECTED

public static final MPXException.ErrorCode UNEXPECTED
An unexpected error internal error occurred.


FAILED

public static final MPXException.ErrorCode FAILED
An unknown exception has occurred.


ALL

public static final MPXException.ErrorCode[] ALL
Method Detail

getID

public int getID()
the ID of an error

Returns:
int the iD of an error

hashCode

public int hashCode()
a hash code for this error

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code for this error

fromID

public static MPXException.ErrorCode fromID(int id)
Gets the Status value corresponding to the given ID.

Parameters:
id - A Status ID.
Returns:
The corresponding Status value, or null.

equals

public boolean equals(java.lang.Object o)
compares two error codes for equality

Overrides:
equals in class java.lang.Object
Parameters:
o - the other error code to compare
Returns:
true if the two are considered equal


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.