Class GitAPIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jgit.api.errors.GitAPIException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbortedByHookException, ArchiveCommand.UnsupportedFormatException, CanceledException, CannotDeleteCurrentBranchException, CheckoutConflictException, ConcurrentRefUpdateException, DetachedHeadException, EmptyCommitException, FilterFailedException, InvalidConfigurationException, InvalidMergeHeadsException, InvalidRebaseStepException, InvalidRefNameException, InvalidRemoteException, InvalidTagNameException, MultipleParentsNotAllowedException, NoFilepatternException, NoHeadException, NoMessageException, NotMergedException, PatchApplyException, PatchFormatException, RefAlreadyExistsException, RefNotAdvertisedException, RefNotFoundException, RepoCommand.ManifestErrorException, RepoCommand.RemoteUnavailableException, ServiceUnavailableException, StashApplyFailureException, SubmoduleDeinitCommand.NoSuchSubmoduleException, TransportException, UnmergedPathsException, UnsupportedSigningFormatException, WrongObjectTypeException, WrongRepositoryStateException
Superclass of all exceptions thrown by the API classes in
org.eclipse.jgit.api- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGitAPIException(String message) Constructs a new exception with the specified detail message and no cause.protectedGitAPIException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
GitAPIException
-
GitAPIException
Constructs a new exception with the specified detail message and no cause.- Parameters:
message- detail message- Since:
- 3.1
-