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:
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
-
-
Constructor Summary
Constructors Constructor Description NoHeadException(String message)
Constructor for NoHeadExceptionNoHeadException(String message, Throwable cause)
Constructor for NoHeadException
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoHeadException
public NoHeadException(String message, Throwable cause)
Constructor for NoHeadException- Parameters:
message
- error messagecause
- aThrowable
-
NoHeadException
public NoHeadException(String message)
Constructor for NoHeadException- Parameters:
message
- error message
-
-