Class CannotDeleteCurrentBranchException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CannotDeleteCurrentBranchException
    extends GitAPIException
    Thrown when trying to delete a branch which is currently checked out
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      CannotDeleteCurrentBranchException​(java.lang.String message)
      Constructor for CannotDeleteCurrentBranchException
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • CannotDeleteCurrentBranchException

        public CannotDeleteCurrentBranchException​(java.lang.String message)
        Constructor for CannotDeleteCurrentBranchException
        Parameters:
        message - error message