Top Description Fields Constructors
org.eclipse.jgit.errors

public Class PackInvalidException

extends IOException
Class Inheritance
Imports
java.io.File, .IOException, java.text.MessageFormat, org.eclipse.jgit.internal.JGitText

Thrown when a Pack previously failed and is known to be unusable

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
PackInvalidException(File
path of the invalid pack file.
path
,
Throwable
cause of the pack file becoming invalid.
cause
)

Construct a pack invalid error with cause.

public
PackInvalidException(String
path of the invalid pack file.
path
,
Throwable
cause of the pack file becoming invalid.
cause
)

Construct a pack invalid error with cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Constructor Detail

PackInvalidExceptionback to summary
public PackInvalidException(File path, Throwable cause)

Construct a pack invalid error with cause.

Parameters
path:File

path of the invalid pack file.

cause:Throwable

cause of the pack file becoming invalid.

Since
4.5.7
PackInvalidExceptionback to summary
public PackInvalidException(String path, Throwable cause)

Construct a pack invalid error with cause.

Parameters
path:String

path of the invalid pack file.

cause:Throwable

cause of the pack file becoming invalid.

Since
4.5.7