Top Description Fields Constructors Methods
org.eclipse.jgit.errors

public Class PackMismatchException

extends IOException
Class Inheritance
Imports
java.io.IOException

Thrown when a Pack no longer matches the PackIndex.

Field Summary

Modifier and TypeField and Description
private boolean
private static final long

Constructor Summary

AccessConstructor and Description
public
PackMismatchException(String
description of the type of error.
why
)

Construct a pack modification error.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

if this is a permanent problem and repeatedly scanning the packlist couldn't fix it
isPermanent
()

Check if this is a permanent problem

public void
setPermanent(boolean
whether the exception is considered permanent
permanent
)

Set the type of the exception

Field Detail

permanentback to summary
private boolean permanent
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Constructor Detail

PackMismatchExceptionback to summary
public PackMismatchException(String why)

Construct a pack modification error.

Parameters
why:String

description of the type of error.

Method Detail

isPermanentback to summary
public boolean isPermanent()

Check if this is a permanent problem

Returns:boolean

if this is a permanent problem and repeatedly scanning the packlist couldn't fix it

Since
5.9.1
setPermanentback to summary
public void setPermanent(boolean permanent)

Set the type of the exception

Parameters
permanent:boolean

whether the exception is considered permanent

Since
5.9.1