Package org.eclipse.jgit.api.errors
Class EmptyCommitException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.jgit.api.errors.GitAPIException
-
- org.eclipse.jgit.api.errors.EmptyCommitException
-
- All Implemented Interfaces:
Serializable
public class EmptyCommitException extends GitAPIException
Exception thrown when a newly created commit does not contain any changes- Since:
- 5.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmptyCommitException(String message)
Constructor for EmptyCommitException.EmptyCommitException(String message, Throwable cause)
Constructor for EmptyCommitException
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
EmptyCommitException
public EmptyCommitException(String message, Throwable cause)
Constructor for EmptyCommitException- Parameters:
message
- error messagecause
- aThrowable
-
EmptyCommitException
public EmptyCommitException(String message)
Constructor for EmptyCommitException.- Parameters:
message
- error message
-
-