public class WrongObjectTypeException extends GitAPIException
Constructor and Description |
---|
WrongObjectTypeException(ObjectId id,
int type)
Construct a
WrongObjectTypeException for the specified object id,
giving the expected type. |
Modifier and Type | Method and Description |
---|---|
int |
getExpectedType()
Retrieves the expected type code.
|
String |
getObjectId()
Retrieves the name (SHA-1) of the object.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WrongObjectTypeException(ObjectId id, int type)
WrongObjectTypeException
for the specified object id,
giving the expected type.Copyright © 2021 Eclipse JGit Project. All rights reserved.