Package jetbrains.buildServer.vcs
Class VcsRootVcsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- jetbrains.buildServer.vcs.VcsException
-
- jetbrains.buildServer.vcs.VcsRootVcsException
-
- All Implemented Interfaces:
java.io.Serializable
public class VcsRootVcsException extends VcsException
VcsException that is associated with Vcs Root, mostly used in server- Since:
- 8.0
- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VcsRootVcsException(VcsRoot root, java.lang.String message, VcsException cause)
creates detailed exceptionVcsRootVcsException(VcsRoot root, java.lang.String message, VcsException cause, CheckoutRules checkoutRules)
creates detailed exceptionVcsRootVcsException(VcsRoot root, VcsException cause)
creates an exception
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckoutRules
getCheckoutRules()
VcsRoot
getRoot()
Returns vcs root caused the problem.boolean
isDetailed()
-
Methods inherited from class jetbrains.buildServer.vcs.VcsException
isRecoverable, setRecoverable, setRoot
-
-
-
-
Constructor Detail
-
VcsRootVcsException
public VcsRootVcsException(@NotNull VcsRoot root, @NotNull java.lang.String message, @NotNull VcsException cause, @Nullable CheckoutRules checkoutRules)
creates detailed exception- Parameters:
root
- associated VcsRootcheckoutRules
- which checkout rules were problematicmessage
- exception details infocause
- generic exception- Since:
- 2021.1.2
-
VcsRootVcsException
public VcsRootVcsException(@NotNull VcsRoot root, @NotNull java.lang.String message, @NotNull VcsException cause)
creates detailed exception- Parameters:
root
- associated VcsRootmessage
- exception details infocause
- generic exception- Since:
- 8.0
-
VcsRootVcsException
public VcsRootVcsException(@NotNull VcsRoot root, @NotNull VcsException cause)
creates an exception- Parameters:
root
- associated VcsRootcause
- generic exception- Since:
- 8.0
-
-
Method Detail
-
getRoot
@NotNull public VcsRoot getRoot()
Returns vcs root caused the problem.- Returns:
- vcs root caused the problem.
- Since:
- 8.0
-
isDetailed
public boolean isDetailed()
- Returns:
- true if exception was created with
VcsRootVcsException(VcsRoot, String, VcsException)
- Since:
- 8.0
-
getCheckoutRules
@Nullable public CheckoutRules getCheckoutRules()
- Returns:
- Relevant checkout rules which were used during the operation
-
-