Top Description Fields Constructors
org.eclipse.jgit.errors

public Class RevWalkException

extends RuntimeException
Class Inheritance
Imports
org.eclipse.jgit.internal.JGitText

Indicates a checked exception was thrown inside of org.eclipse.jgit.revwalk.RevWalk.

Usually this exception is thrown from the Iterator created around a RevWalk instance, as the Iterator API does not allow checked exceptions to be thrown from hasNext() or next(). The java.lang.Exception#getCause() of this exception is the original checked exception that we really wanted to throw back to the application for handling and recovery.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
RevWalkException(Throwable
the checked exception that describes why the walk failed.
cause
)

Create a new walk exception an original cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

RevWalkExceptionback to summary
public RevWalkException(Throwable cause)

Create a new walk exception an original cause.

Parameters
cause:Throwable

the checked exception that describes why the walk failed.