com.starteam.exceptions
Class CommandAbortedException

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

public final class CommandAbortedException
extends ServerException

The CommandAbortedException class is intended to be used to cause a command to be aborted in NetMonitor.

See Also:
NetMonitor, ServerCommandListener, ServerCommandEvent, Serialized Form

Constructor Summary
CommandAbortedException(java.lang.String sErrorMessage)
          Creates a new exception that can be used to be thrown to intentionally cause NetMonitor to abort before or after a particular command is executed.
 
Method Summary
 
Methods inherited from class com.starteam.exceptions.ServerException
getAuxData, getAuxKeys, getClassName, getErrorCode, getErrorMessage, getErrorSource, getLogEntry, getMessage, getNonLocalizedMessage, getServer, getTimeLogged, isLogged, setErrorMessage, 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
 

Constructor Detail

CommandAbortedException

public CommandAbortedException(java.lang.String sErrorMessage)
Creates a new exception that can be used to be thrown to intentionally cause NetMonitor to abort before or after a particular command is executed.

Parameters:
sErrorMessage - the error message for this exception
See Also:
ServerCommandListener.start(com.starteam.events.ServerCommandEvent), ServerCommandListener.end(com.starteam.events.ServerCommandEvent)


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