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:
Serializable
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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWrongRepositoryStateException
(String message) Constructor for WrongRepositoryStateException.WrongRepositoryStateException
(String message, Throwable cause) Constructor for WrongRepositoryStateException. -
Method Summary
Methods inherited from class java.lang.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
-
WrongRepositoryStateException
Constructor for WrongRepositoryStateException.- Parameters:
message
- error messagecause
- aThrowable
-
WrongRepositoryStateException
Constructor for WrongRepositoryStateException.- Parameters:
message
- error message
-