com.microsoft.tfs.core.clients.versioncontrol.exceptions
Class CheckinException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.microsoft.tfs.core.exceptions.TECoreException
com.microsoft.tfs.core.exceptions.TEClientException
com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException
com.microsoft.tfs.core.clients.versioncontrol.exceptions.CheckinException
- All Implemented Interfaces:
- java.io.Serializable
public final class CheckinException
- extends VersionControlException
An exception thrown when a checkin fails. Whether the problem can be resolved
or not can be determined by invoking the isAnyResolvable()
method.
- See Also:
- Serialized Form
- Since:
- TEE-SDK-10.1
Constructor Summary |
CheckinException(CheckinConflict[] checkinConflicts,
boolean anyResolvable,
boolean allConflictsResolved,
java.lang.String message)
|
CheckinException(CheckinConflict[] checkinConflicts,
boolean anyResolvable,
boolean allConflictsResolved,
java.lang.String message,
java.lang.Throwable cause)
|
CheckinException(CheckinConflict[] checkinConflicts,
boolean anyResolvable,
boolean allConflictsResolved,
java.lang.Throwable cause)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CheckinException
public CheckinException(CheckinConflict[] checkinConflicts,
boolean anyResolvable,
boolean allConflictsResolved,
java.lang.String message)
CheckinException
public CheckinException(CheckinConflict[] checkinConflicts,
boolean anyResolvable,
boolean allConflictsResolved,
java.lang.Throwable cause)
CheckinException
public CheckinException(CheckinConflict[] checkinConflicts,
boolean anyResolvable,
boolean allConflictsResolved,
java.lang.String message,
java.lang.Throwable cause)
getCheckinConflicts
public CheckinConflict[] getCheckinConflicts()
- Returns:
- the
CheckinConflict
s that prevented this checkin from
occurring
isAnyResolvable
public boolean isAnyResolvable()
- Returns:
- true if any of the items preventing the checkin from occurring
are resolvable, false if they are all not resolvable.
allConflictsResolved
public boolean allConflictsResolved()
- Returns:
- true if the conflicts were all automatically resolved, false
otherwise
© 2015 Microsoft. All rights reserved.