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

public Class DetachedHeadException

extends GitAPIException
Class Inheritance
Imports
org.eclipse.jgit.internal.JGitText

Exception thrown when a command expected a non-detached HEAD reference

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
DetachedHeadException()

The default constructor with a default message

public
DetachedHeadException(String
error message
message
,
Throwable cause)

Constructor for DetachedHeadException.

public
DetachedHeadException(String
error message
message
)

Constructor for DetachedHeadException.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

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

Constructor Detail

DetachedHeadExceptionback to summary
public DetachedHeadException()

The default constructor with a default message

DetachedHeadExceptionback to summary
public DetachedHeadException(String message, Throwable cause)

Constructor for DetachedHeadException.

Parameters
message:String

error message

cause:Throwable

a java.lang.Throwable object.

DetachedHeadExceptionback to summary
public DetachedHeadException(String message)

Constructor for DetachedHeadException.

Parameters
message:String

error message