Package org.eclipse.jgit.api.errors
Class GitAPIException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.jgit.api.errors.GitAPIException
-
- All Implemented Interfaces:
java.io.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
public abstract class GitAPIException extends java.lang.Exception
Superclass of all exceptions thrown by the API classes inorg.eclipse.jgit.api
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protected
GitAPIException(java.lang.String message)
Constructs a new exception with the specified detail message and no cause.protected
GitAPIException(java.lang.String message, java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GitAPIException
protected GitAPIException(java.lang.String message, java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- detail messagecause
- cause- Since:
- 3.1
-
GitAPIException
protected GitAPIException(java.lang.String message)
Constructs a new exception with the specified detail message and no cause.- Parameters:
message
- detail message- Since:
- 3.1
-
-