org.netbeans.libs.git
Class GitException.MissingObjectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.netbeans.libs.git.GitException
org.netbeans.libs.git.GitException.MissingObjectException
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- GitException
public static class GitException.MissingObjectException
- extends GitException
Describes an error when a non existent git object is tried to be loaded.
Usually is thrown when a caller passes a name of a branch or tag or a non-existent commit id
to a git command.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
GitException.MissingObjectException
public GitException.MissingObjectException(String objectName,
GitObjectType objectType)
- Parameters:
objectName - name or id of an object being resolved.objectType - type of an object being resolved.
GitException.MissingObjectException
public GitException.MissingObjectException(String objectName,
GitObjectType objectType,
Throwable ex)
- Parameters:
objectName - name or id of an object being resolved.objectType - type of an object being resolved.ex - cause exception
getObjectName
public String getObjectName()
- Returns:
- name or id of an object unable to been resolved.
getObjectType
public GitObjectType getObjectType()
- Returns:
- kind of a git object unable to been resolved.