public static enum CorruptPackIndexException.ErrorType extends Enum<CorruptPackIndexException.ErrorType>
Enum Constant and Description |
---|
MISMATCH_CRC
CRC does not match CRC of the object data in pack file.
|
MISMATCH_OFFSET
Offset does not match index in pack file.
|
MISSING_CRC
CRC is not present in index file.
|
MISSING_OBJ
Object in pack is not present in index file.
|
UNKNOWN_OBJ
Object in index file is not present in pack file.
|
Modifier and Type | Method and Description |
---|---|
static CorruptPackIndexException.ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CorruptPackIndexException.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CorruptPackIndexException.ErrorType MISMATCH_OFFSET
public static final CorruptPackIndexException.ErrorType MISMATCH_CRC
public static final CorruptPackIndexException.ErrorType MISSING_CRC
public static final CorruptPackIndexException.ErrorType MISSING_OBJ
public static final CorruptPackIndexException.ErrorType UNKNOWN_OBJ
public static CorruptPackIndexException.ErrorType[] values()
for (CorruptPackIndexException.ErrorType c : CorruptPackIndexException.ErrorType.values()) System.out.println(c);
public static CorruptPackIndexException.ErrorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Eclipse JGit Project. All rights reserved.