org.eclipse.jgit.api.errors
Class DetachedHeadException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.jgit.api.errors.GitAPIException
              extended by org.eclipse.jgit.api.errors.DetachedHeadException
All Implemented Interfaces:
Serializable

public class DetachedHeadException
extends GitAPIException

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

See Also:
Serialized Form

Constructor Summary
DetachedHeadException()
          The default constructor with a default message
DetachedHeadException(String message)
           
DetachedHeadException(String message, Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DetachedHeadException

public DetachedHeadException()
The default constructor with a default message


DetachedHeadException

public DetachedHeadException(String message,
                             Throwable cause)
Parameters:
message -
cause -

DetachedHeadException

public DetachedHeadException(String message)
Parameters:
message -


Copyright © 2012. All Rights Reserved.