Class 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 Detail

      • WrongRepositoryStateException

        public WrongRepositoryStateException​(String message,
                                             Throwable cause)
        Constructor for WrongRepositoryStateException.
        Parameters:
        message - error message
        cause - a Throwable
      • WrongRepositoryStateException

        public WrongRepositoryStateException​(String message)
        Constructor for WrongRepositoryStateException.
        Parameters:
        message - error message