Example usage for org.eclipse.jgit.errors RevWalkException RevWalkException

List of usage examples for org.eclipse.jgit.errors RevWalkException RevWalkException

Introduction

In this page you can find the example usage for org.eclipse.jgit.errors RevWalkException RevWalkException.

Prototype

public RevWalkException(Throwable cause) 

Source Link

Document

Create a new walk exception an original cause.

Usage

From source file:com.google.gitiles.Paginator.java

License:Open Source License

private RevCommit nextUnchecked() {
    try {//from   w ww  .  j av  a2s .c  o m
        return next();
    } catch (MissingObjectException e) {
        throw new RevWalkException(e);
    } catch (IncorrectObjectTypeException e) {
        throw new RevWalkException(e);
    } catch (IOException e) {
        throw new RevWalkException(e);
    }
}