Codota Logo
RevWalkException.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.eclipse.jgit.errors.RevWalkException
constructor

Best Java code snippets using org.eclipse.jgit.errors.RevWalkException.<init> (Showing top 6 results out of 315)

  • Common ways to obtain RevWalkException
private void myMethod () {
RevWalkException r =
  • Codota IconThrowable cause;new RevWalkException(cause)
  • Smart code suggestions by Codota
}
origin: org.eclipse.jgit/org.eclipse.jgit

/**
 * Like {@link #next()}, but if a checked exception is thrown during the
 * walk it is rethrown as a {@link RevWalkException}.
 *
 * @throws RevWalkException if an {@link IOException} was thrown.
 * @return next most recent commit; null if traversal is over.
 */
@Nullable
private RevCommit nextForIterator() {
  try {
    return next();
  } catch (IOException e) {
    throw new RevWalkException(e);
  }
}
origin: sonia.jgit/org.eclipse.jgit

public RevCommit next() {
  try {
    final RevCommit r = next;
    next = RevWalk.this.next();
    return r;
  } catch (MissingObjectException e) {
    throw new RevWalkException(e);
  } catch (IncorrectObjectTypeException e) {
    throw new RevWalkException(e);
  } catch (IOException e) {
    throw new RevWalkException(e);
  }
}
origin: theonedev/onedev

@Override
public RevCommit next() {
  try {
    final RevCommit r = next;
    next = RevWalk.this.next();
    return r;
  } catch (MissingObjectException e) {
    throw new RevWalkException(e);
  } catch (IncorrectObjectTypeException e) {
    throw new RevWalkException(e);
  } catch (IOException e) {
    throw new RevWalkException(e);
  }
}
origin: sonia.jgit/org.eclipse.jgit

  first = RevWalk.this.next();
} catch (MissingObjectException e) {
  throw new RevWalkException(e);
} catch (IncorrectObjectTypeException e) {
  throw new RevWalkException(e);
} catch (IOException e) {
  throw new RevWalkException(e);
origin: theonedev/onedev

  first = RevWalk.this.next();
} catch (MissingObjectException e) {
  throw new RevWalkException(e);
} catch (IncorrectObjectTypeException e) {
  throw new RevWalkException(e);
} catch (IOException e) {
  throw new RevWalkException(e);
origin: berlam/github-bucket

/**
 * Like {@link #next()}, but if a checked exception is thrown during the
 * walk it is rethrown as a {@link RevWalkException}.
 *
 * @throws RevWalkException if an {@link IOException} was thrown.
 * @return next most recent commit; null if traversal is over.
 */
@Nullable
private RevCommit nextForIterator() {
  try {
    return next();
  } catch (IOException e) {
    throw new RevWalkException(e);
  }
}
org.eclipse.jgit.errorsRevWalkException<init>

Javadoc

Create a new walk exception an original cause.

Popular methods of RevWalkException

    Popular in Java

    • Reactive rest calls using spring rest template
    • startActivity (Activity)
    • getContentResolver (Context)
    • onCreateOptionsMenu (Activity)
    • File (java.io)
      An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
    • RandomAccessFile (java.io)
      Allows reading from and writing to a file in a random-access manner. This is different from the uni-
    • String (java.lang)
    • InetAddress (java.net)
      This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
    • URLEncoder (java.net)
      This class is used to encode a string using the format required by application/x-www-form-urlencoded
    • Locale (java.util)
      A Locale object represents a specific geographical, political, or cultural region. An operation that
    Codota Logo
    • Products

      Search for Java codeSearch for JavaScript codeEnterprise
    • IDE Plugins

      IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Codota for your IDE now