Serializable
public class RevWalkException extends RuntimeException
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 Throwable.getCause()
of this exception
is the original checked exception that we really wanted to throw back to the
application for handling and recovery.
Constructor | Description |
---|---|
RevWalkException(Throwable cause) |
Create a new walk exception an original cause.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RevWalkException(Throwable cause)
cause
- the checked exception that describes why the walk failed.Copyright © 2018. All rights reserved.