com.starteam.exceptions
Class LockingException

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.LockingException
All Implemented Interfaces:
java.io.Serializable

public final class LockingException
extends ServerException

Thrown when an attempt is made to set a lock on an item during the view compare-merge, and the attempt fails. Extends ServerException to provide access to the item whose lock attempt failed.

See Also:
Serialized Form

Method Summary
 ViewMember getViewMember()
          Gets the item whose lock attempt failed.
 
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
 

Method Detail

getViewMember

public ViewMember getViewMember()
Gets the item whose lock attempt failed.

Returns:
the item whose lock attempt failed.


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