Package com.atlassian.bitbucket.commit
Class NoSuchCommitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.bitbucket.ServiceException
com.atlassian.bitbucket.NoSuchEntityException
com.atlassian.bitbucket.commit.NoSuchCommitException
- All Implemented Interfaces:
Serializable
Indicates no commit exists with the specified ID.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the ID for which no matching commit was found.Methods inherited from class com.atlassian.bitbucket.ServiceException
getKeyedMessage, getLocalizedMessage, getMessageKey
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoSuchCommitException
-
-
Method Details
-
getCommitId
Retrieves the ID for which no matching commit was found. If a path was supplied when attempting retrieve the commit, this is the ID of the starting commit.- Returns:
- the commit ID
-