Top Description Fields Constructors
org.eclipse.jgit.api.errors

public Class WrongRepositoryStateException

extends GitAPIException
Class Inheritance

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.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
WrongRepositoryStateException(String
error message
message
,
Throwable cause)

Constructor for WrongRepositoryStateException.

public
WrongRepositoryStateException(String
error message
message
)

Constructor for WrongRepositoryStateException.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.jgit.api.errors.GitAPIException.serialVersionUID.

Constructor Detail

WrongRepositoryStateExceptionback to summary
public WrongRepositoryStateException(String message, Throwable cause)

Constructor for WrongRepositoryStateException.

Parameters
message:String

error message

cause:Throwable

a java.lang.Throwable

WrongRepositoryStateExceptionback to summary
public WrongRepositoryStateException(String message)

Constructor for WrongRepositoryStateException.

Parameters
message:String

error message