Package org.eclipse.jgit.api.errors
Class CannotDeleteCurrentBranchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.jgit.api.errors.GitAPIException
-
- org.eclipse.jgit.api.errors.CannotDeleteCurrentBranchException
-
- All Implemented Interfaces:
Serializable
public class CannotDeleteCurrentBranchException extends GitAPIException
Thrown when trying to delete a branch which is currently checked out- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CannotDeleteCurrentBranchException(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
-
-
-
-
Constructor Detail
-
CannotDeleteCurrentBranchException
public CannotDeleteCurrentBranchException(String message)
Constructor for CannotDeleteCurrentBranchException- Parameters:
message
- error message
-
-