Package org.eclipse.jgit.api.errors
Class NoHeadException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.jgit.api.errors.GitAPIException
-
- org.eclipse.jgit.api.errors.NoHeadException
-
- All Implemented Interfaces:
java.io.Serializable
public class NoHeadException extends GitAPIException
Exception thrown when a command expected theHEAD
reference to exist but couldn't find such a reference- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description NoHeadException(java.lang.String message)
Constructor for NoHeadExceptionNoHeadException(java.lang.String message, java.lang.Throwable cause)
Constructor for NoHeadException
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NoHeadException
public NoHeadException(java.lang.String message, java.lang.Throwable cause)
Constructor for NoHeadException- Parameters:
message
- error messagecause
- aThrowable
-
NoHeadException
public NoHeadException(java.lang.String message)
Constructor for NoHeadException- Parameters:
message
- error message
-
-