Package org.eclipse.jgit.api.errors
Class WrongRepositoryStateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.jgit.api.errors.GitAPIException
-
- org.eclipse.jgit.api.errors.WrongRepositoryStateException
-
- All Implemented Interfaces:
java.io.Serializable
public class WrongRepositoryStateException extends GitAPIException
Exception thrown when the state of the repository doesn't allow the execution of a certain command. E.g. when a CommitCommand should be executed on a repository with unresolved conflicts this exception will be thrown.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WrongRepositoryStateException(java.lang.String message)
WrongRepositoryStateException(java.lang.String message, java.lang.Throwable cause)
-