|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
jetbrains.buildServer.vcs.VcsException
public class VcsException
Exception is thrown when some problem occurred while processing vcs request.
| Constructor Summary | |
|---|---|
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 | |
|---|---|
java.lang.String |
getMessage()
|
VcsRoot |
getRoot()
Returns vcs root caused the problem. |
boolean |
isDetailed()
Return true if additional details were provided for the exception |
boolean |
isRecoverable()
Indicates whether this error is recoverable (if true then operation can be repeated) |
void |
prependMessage(java.lang.String prefix)
Allows to prepend more specific message for the exception, to provide more details. |
void |
setRecoverable(boolean recoverable)
Sets whether this error is recoverable or not (false by default). |
VcsException |
setRoot(VcsRoot root)
Sets vcs root caused the problem. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VcsException()
public VcsException(java.lang.String message)
message - problem description.
public VcsException(java.lang.String message,
java.lang.Throwable cause)
message - problem description.cause - cause exception.public VcsException(java.lang.Throwable cause)
cause - cause exception.| Method Detail |
|---|
public VcsRoot getRoot()
public VcsException setRoot(VcsRoot root)
root - vcs root caused the problem.
public boolean isRecoverable()
public void setRecoverable(boolean recoverable)
recoverable - true if error is recoverablepublic void prependMessage(java.lang.String prefix)
prefix - prefix for the exception messagepublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic boolean isDetailed()
prependMessage(String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||