|
org.netbeans.libs.git/1 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.netbeans.libs.git.GitException
public class GitException
A general exception thrown when an error occurs while running git commands.
| Nested Class Summary | |
|---|---|
static class |
GitException.AuthorizationException
Thrown when an authentication or authorization to a remote repository fails because of incorrect credentials. |
static class |
GitException.CheckoutConflictException
Thrown when a file cannot be checked out into the working tree because it would result in a local conflict. |
static class |
GitException.MissingObjectException
Describes an error when a non existent git object is tried to be loaded. Usually is thrown when a caller passes a name of a branch or tag or a non-existent commit id to a git command. |
static class |
GitException.NotMergedException
Thrown to notify a caller of the fact that a revision he passed has not been fully merged into a current HEAD yet. |
static class |
GitException.RefUpdateException
|
| Constructor Summary | |
|---|---|
GitException(String message)
There is no cause exception but has an error message. |
|
GitException(String message,
Throwable ex)
There is a cause exception and has its own error message |
|
GitException(Throwable t)
Encapsulates a cause exception. |
|
| Method Summary |
|---|
| 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 |
| Constructor Detail |
|---|
public GitException(Throwable t)
t - cause exceptionpublic GitException(String message)
message - error description
public GitException(String message,
Throwable ex)
message - error descriptionex - cause exception
|
org.netbeans.libs.git/1 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||