com.starteam.exceptions
Class ConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.starteam.exceptions.CommandException
                  extended by com.starteam.exceptions.ConnectionException
All Implemented Interfaces:
java.io.Serializable

public final class ConnectionException
extends CommandException

An exception that is raised when the execution of a server command fails due to a problem with the connection.

See Also:
Serialized Form

Method Summary
 int getReconnectAttemptCount()
          Gets the number of reconnect attempts that were made, trying to automatically re-establish the connection to the server, before giving up and triggering this exception.
 java.io.IOException[] getReconnectExceptions()
          Gets one exception for each reconnect attempt that was made trying to automatically re-establish the connection to the server.
 
Methods inherited from class com.starteam.exceptions.CommandException
getIOException, getMessage, getServer, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getReconnectAttemptCount

public int getReconnectAttemptCount()
Gets the number of reconnect attempts that were made, trying to automatically re-establish the connection to the server, before giving up and triggering this exception.

Returns:
The number of reconnect attempts that were made trying to automatically re-establish the connection to the server.

getReconnectExceptions

public java.io.IOException[] getReconnectExceptions()
Gets one exception for each reconnect attempt that was made trying to automatically re-establish the connection to the server.

Returns:
The list of exceptions received for the reconnect attempts that were made trying to automatically re-establish the connection to the server.


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