org.eclipse.jgit.api.errors
Class WrongRepositoryStateException

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.WrongRepositoryStateException
All Implemented Interfaces:
Serializable

public class WrongRepositoryStateException
extends GitAPIException

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.

See Also:
Serialized Form

Constructor Summary
WrongRepositoryStateException(String message)
           
WrongRepositoryStateException(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

WrongRepositoryStateException

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

WrongRepositoryStateException

public WrongRepositoryStateException(String message)
Parameters:
message -


Copyright © 2012. All Rights Reserved.