com.starteam.exceptions
Class CommandException

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

public class CommandException
extends java.lang.RuntimeException

An exception than can be thrown as a result of trying to execute a client command to the server.

See Also:
ConnectionException, Serialized Form

Method Summary
 java.io.IOException getIOException()
           
 java.lang.String getMessage()
          Returns the detail message string of this exception.
 Server getServer()
          Return the server originating this exception
 java.lang.String toString()
          Returns a short description of this exception
 
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

getIOException

public java.io.IOException getIOException()

getMessage

public java.lang.String getMessage()
Returns the detail message string of this exception.

Overrides:
getMessage in class java.lang.Throwable
Returns:
the detail message string of this exception instance (which may be null).

toString

public java.lang.String toString()
Returns a short description of this exception

Overrides:
toString in class java.lang.Throwable
Returns:
Returns a short description of this exception

getServer

public Server getServer()
Return the server originating this exception

Returns:
the server originating this exception


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