Package jetbrains.buildServer.vcs
Class VcsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- jetbrains.buildServer.vcs.VcsException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
IncrementalPatchImpossibleException
,RevisionNotFoundException
,VcsFileNotFoundException
,VcsIncludeRulesException
,VcsRootVcsException
public class VcsException extends java.lang.Exception
Exception is thrown when some problem occurred while processing vcs request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VcsException()
Default constructor.VcsException(java.lang.String message)
Constructor with a description.VcsException(java.lang.String message, java.lang.Throwable cause)
Constructor with a description and cause exception.VcsException(java.lang.Throwable cause)
Constructor with cause exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
isRecoverable()
Indicates whether this error is recoverable (if true then operation can be repeated)void
setRecoverable(boolean recoverable)
Sets whether this error is recoverable or not (false by default).VcsException
setRoot(java.lang.Object root)
Deprecated.core will take care to associate vcs exception and settings
-
-
-
Constructor Detail
-
VcsException
public VcsException()
Default constructor.
-
VcsException
public VcsException(java.lang.String message)
Constructor with a description.- Parameters:
message
- problem description.
-
VcsException
public VcsException(java.lang.String message, java.lang.Throwable cause)
Constructor with a description and cause exception.- Parameters:
message
- problem description.cause
- cause exception.
-
VcsException
public VcsException(java.lang.Throwable cause)
Constructor with cause exception.- Parameters:
cause
- cause exception.
-
-
Method Detail
-
isRecoverable
public boolean isRecoverable()
Indicates whether this error is recoverable (if true then operation can be repeated)- Returns:
- true if error is recoverable
-
setRecoverable
public void setRecoverable(boolean recoverable)
Sets whether this error is recoverable or not (false by default).- Parameters:
recoverable
- true if error is recoverable
-
setRoot
@NotNull @Deprecated public VcsException setRoot(@NotNull java.lang.Object root)
Deprecated.core will take care to associate vcs exception and settingsThis method is left here only for compatibility with older versions- Parameters:
root
- deprecated- Since:
- 2.0
-
-